Fixed a failing test
This commit is contained in:
parent
b59ef3b7cd
commit
11e2eb79f3
1 changed files with 6 additions and 10 deletions
|
@ -19,15 +19,10 @@ RSpec.shared_context 'GroupPolicy context' do
|
|||
let(:reporter_permissions) { [:admin_label] }
|
||||
let(:developer_permissions) { [:admin_milestone] }
|
||||
let(:maintainer_permissions) do
|
||||
[
|
||||
:create_projects,
|
||||
:read_cluster,
|
||||
:create_cluster,
|
||||
:update_cluster,
|
||||
:admin_cluster,
|
||||
:add_cluster,
|
||||
(Gitlab::Database.postgresql? ? :create_subgroup : nil)
|
||||
].compact
|
||||
%i[
|
||||
create_projects read_cluster create_cluster update_cluster
|
||||
admin_cluster add_cluster
|
||||
]
|
||||
end
|
||||
let(:owner_permissions) do
|
||||
[
|
||||
|
@ -35,7 +30,8 @@ RSpec.shared_context 'GroupPolicy context' do
|
|||
:admin_namespace,
|
||||
:admin_group_member,
|
||||
:change_visibility_level,
|
||||
:set_note_created_at
|
||||
:set_note_created_at,
|
||||
(Gitlab::Database.postgresql? ? :create_subgroup : nil)
|
||||
].compact
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue