diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-06-28 14:06:50 -0700 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-06-28 14:06:50 -0700 |
commit | 3a1d9ce3a1ed86eb169c48896d290b9bf9a91af9 (patch) | |
tree | b0a77928a162a4045aa55f298957856bc1e169ba | |
parent | 65d4843421c7bdc1b571f2b72f8db1a64cf0834f (diff) | |
download | gitlab-ce-3a1d9ce3a1ed86eb169c48896d290b9bf9a91af9.tar.gz |
Remove an example that is no longer necessary
-rw-r--r-- | spec/models/group_spec.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb index 2b85b281d33..d7accbef6bd 100644 --- a/spec/models/group_spec.rb +++ b/spec/models/group_spec.rb @@ -1023,13 +1023,4 @@ describe Group do expect(group.project_creation_level).to eq(Gitlab::CurrentSettings.default_project_creation) end end - - describe 'subgroup_creation_level' do - it 'outputs the default one if it is nil' do - group = create(:group, subgroup_creation_level: nil) - - expect(group.subgroup_creation_level) - .to eq(::Gitlab::Access::MAINTAINER_SUBGROUP_ACCESS) - end - end end |