diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-06-21 07:47:41 +0000 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-06-21 07:47:41 +0000 |
commit | 5213bf2bf713f1647c05821d42afea90d93a57b6 (patch) | |
tree | 4224004367013ba02b5bba24bdfcda3bb03ae4e8 /spec/models/project_feature_spec.rb | |
parent | 1578ee93475c0ebb62399403d971e99aa45e7276 (diff) | |
download | gitlab-ce-revert-1578ee93.tar.gz |
Revert "Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce"revert-1578ee93
This reverts commit 1578ee93475c0ebb62399403d971e99aa45e7276
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) } |