summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorFabio Papa <fabtheman@gmail.com>2019-06-28 13:31:47 -0700
committerFabio Papa <fabtheman@gmail.com>2019-07-19 12:06:56 -0700
commit97b1f48e97383648946c985eef8e8a29c307b05e (patch)
tree06ca1f822bf3086870865cbb1de4a79c9af566ac /spec/controllers
parent02b1235046e1a78d4c43476a1716b6464bb647d1 (diff)
downloadgitlab-ce-97b1f48e97383648946c985eef8e8a29c307b05e.tar.gz
Style rules; Revert some examples
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/admin/groups_controller_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/admin/groups_controller_spec.rb b/spec/controllers/admin/groups_controller_spec.rb
index 1123563c1e3..451367f58e1 100644
--- a/spec/controllers/admin/groups_controller_spec.rb
+++ b/spec/controllers/admin/groups_controller_spec.rb
@@ -70,6 +70,8 @@ describe Admin::GroupsController do
end
it 'updates the subgroup_creation_level successfully' do
+ MAINTAINER = ::Gitlab::Access::MAINTAINER_SUBGROUP_ACCESS
+
expect do
post :update,
params: { id: group.to_param,