Commit 5ca43583 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Make sure that :no_one_can_create is the only access

This is not needed for CE, because it's a 1 to 1 mapping,
but in EE it's not, so we need to make sure that we're
testing against :no_one_can_create
parent 580891df
......@@ -532,6 +532,7 @@ describe Ci::CreatePipelineService, :services do
context 'when no one can create the tag' do
let!(:protected_tag) do
create(:protected_tag,
:remove_default_access_levels,
:no_one_can_create,
project: project,
name: ref)
......
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