diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-06-28 14:06:50 -0700 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-19 11:55:47 -0700 |
commit | d32ed9297c5356393dc8a7644786a12078519496 (patch) | |
tree | c3e40f029774c599655949f71293776f4edd01a2 /spec/models | |
parent | 13d9c5dda20095e8f5aaaa173ec2fcc4213ba7bb (diff) | |
download | gitlab-ce-d32ed9297c5356393dc8a7644786a12078519496.tar.gz |
Remove an example that is no longer necessary
Diffstat (limited to 'spec/models')
-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 |