diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-06-25 21:59:10 -0700 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-19 13:35:34 -0700 |
commit | 16cc1300f5650d040df8716b52548d0ac27e3601 (patch) | |
tree | e4209d095100898829c2be16b4c5a1a6166c1f13 /spec/factories | |
parent | d287a9b719b8984aa3422453a722f8a13772a3c8 (diff) | |
download | gitlab-ce-16cc1300f5650d040df8716b52548d0ac27e3601.tar.gz |
Add examples specing the setting to choose who can create subgroups
This setting is at the group level only. The default is specified to
be maintainers and owners.
**Specs only**, all failing.
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/groups.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/factories/groups.rb b/spec/factories/groups.rb index b67ab955ffc..947392b4fbc 100644 --- a/spec/factories/groups.rb +++ b/spec/factories/groups.rb @@ -5,6 +5,7 @@ FactoryBot.define do type 'Group' owner nil project_creation_level ::Gitlab::Access::MAINTAINER_PROJECT_ACCESS + subgroup_creation_level ::Gitlab::Access::OWNER_SUBGROUP_ACCESS after(:create) do |group| if group.owner |