Commit 6cff9117 authored by Peter Leitzen's avatar Peter Leitzen

Merge public_permissions in project policy context

Difference:

        >> a - b
        => []
        >> b - a
        => []
parent 8951db44
......@@ -14,14 +14,6 @@ RSpec.describe ProjectPolicy do
let_it_be(:admin) { create(:admin) }
let(:project) { create(:project, :public, namespace: owner.namespace) }
let(:public_permissions) do
%i[
download_code fork_project read_commit_status read_pipeline
read_container_image build_download_code build_read_container_image
download_wiki_code read_release
]
end
let(:owner_permissions) do
%i[
change_namespace change_visibility_level rename_project remove_project
......
......@@ -60,9 +60,9 @@ RSpec.shared_context 'ProjectPolicy context' do
let(:public_permissions) do
%i[
download_code fork_project read_commit_status read_pipeline
read_container_image build_download_code build_read_container_image
download_wiki_code read_release
build_download_code build_read_container_image download_code
download_wiki_code fork_project read_commit_status read_container_image
read_pipeline read_release
]
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment