Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Papa <fabtheman@gmail.com>2019-07-01 00:40:23 +0300
committerFabio Papa <fabtheman@gmail.com>2019-07-19 22:06:56 +0300
commit44bd74cd0e87c36a99fb5ac2723f44bccf3dfbb9 (patch)
treed8ffdc6aa10f2dae965346a9370d2cd49e0bf264 /spec/controllers
parentaa428bef4e291efe5d346d7df7bbe0028397d90f (diff)
Make subgroup_creation_level default to maintainer at SQL level
- Migration updates existing groups to "owner", then sets default to "maintainer" so that new groups will default to that - Update spec examples
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/admin/groups_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/admin/groups_controller_spec.rb b/spec/controllers/admin/groups_controller_spec.rb
index 451367f58e1..34cd0b324b5 100644
--- a/spec/controllers/admin/groups_controller_spec.rb
+++ b/spec/controllers/admin/groups_controller_spec.rb
@@ -70,7 +70,7 @@ describe Admin::GroupsController do
end
it 'updates the subgroup_creation_level successfully' do
- MAINTAINER = ::Gitlab::Access::MAINTAINER_SUBGROUP_ACCESS
+ OWNER = ::Gitlab::Access::OWNER_SUBGROUP_ACCESS
expect do
post :update,