diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-06-28 14:06:50 -0700 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-05 08:50:33 -0700 |
commit | 884bf503ef09fbcc80da1ced0ec46ac9d918ed66 (patch) | |
tree | 1255d9c61e885239f01590d515b7876d32a4a431 | |
parent | 2a7830f5abf329c7d68bd71efab25d6134832f1d (diff) | |
download | gitlab-ce-884bf503ef09fbcc80da1ced0ec46ac9d918ed66.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 6627177ad61..470ce65707d 100644 --- a/spec/models/group_spec.rb +++ b/spec/models/group_spec.rb @@ -994,13 +994,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 |