diff options
Diffstat (limited to 'spec/models/project_feature_spec.rb')
-rw-r--r-- | spec/models/project_feature_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/models/project_feature_spec.rb b/spec/models/project_feature_spec.rb index 580c83c12c0..09a4448d387 100644 --- a/spec/models/project_feature_spec.rb +++ b/spec/models/project_feature_spec.rb @@ -4,18 +4,6 @@ describe ProjectFeature do let(:project) { create(:empty_project) } let(:user) { create(:user) } - describe '.quoted_access_level_column' do - it 'returns the table name and quoted column name for a feature' do - expected = if Gitlab::Database.postgresql? - '"project_features"."issues_access_level"' - else - '`project_features`.`issues_access_level`' - end - - expect(described_class.quoted_access_level_column(:issues)).to eq(expected) - end - end - describe '#feature_available?' do let(:features) { %w(issues wiki builds merge_requests snippets repository) } |