Commit f8eb8fea authored by Grzegorz Bizon's avatar Grzegorz Bizon 🔴

Fix pipeline processing specs related to protected actions

parent 0f52544b
......@@ -333,10 +333,11 @@ describe Ci::ProcessPipelineService, '#execute', :services do
context 'when pipeline is promoted sequentially up to the end' do
before do
# We are using create(:empty_project), and users has to be master in
# order to execute manual action when repository does not exist.
# Users need ability to merge into a branch in order to trigger
# protected manual actions.
create(:protected_branch, :developers_can_merge,
name: 'master', project: project)
it 'properly processes entire pipeline' do
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment