summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Papa <fabtheman@gmail.com>2019-07-19 14:59:36 -0700
committerFabio Papa <fabtheman@gmail.com>2019-07-19 14:59:36 -0700
commit6c4ddc409fe95215502b6427452715edd31b41ab (patch)
tree835c266add6439901844adef758764dda86e356a
parent7754fe01aeef049dfaaf61eb127c682dcc2c6971 (diff)
downloadgitlab-ce-6c4ddc409fe95215502b6427452715edd31b41ab.tar.gz
Resolve some issues in MR
-rw-r--r--spec/services/groups/create_service_spec.rb1
-rw-r--r--spec/support/shared_contexts/policies/group_policy_shared_context.rb4
2 files changed, 2 insertions, 3 deletions
diff --git a/spec/services/groups/create_service_spec.rb b/spec/services/groups/create_service_spec.rb
index b4e6ddddfac..a7c95428485 100644
--- a/spec/services/groups/create_service_spec.rb
+++ b/spec/services/groups/create_service_spec.rb
@@ -1,4 +1,3 @@
-# coding: utf-8
# frozen_string_literal: true
require 'spec_helper'
diff --git a/spec/support/shared_contexts/policies/group_policy_shared_context.rb b/spec/support/shared_contexts/policies/group_policy_shared_context.rb
index 599c912ce00..74389c4d82b 100644
--- a/spec/support/shared_contexts/policies/group_policy_shared_context.rb
+++ b/spec/support/shared_contexts/policies/group_policy_shared_context.rb
@@ -20,8 +20,8 @@ RSpec.shared_context 'GroupPolicy context' do
let(:developer_permissions) { [:admin_milestone] }
let(:maintainer_permissions) do
%i[
- create_projects read_cluster create_cluster update_cluster
- admin_cluster add_cluster
+ create_projects
+ read_cluster create_cluster update_cluster admin_cluster add_cluster
]
end
let(:owner_permissions) do