summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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