Commit a21d084d authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix specs for pipeline create for merge requests

parent 681b472c
......@@ -34,7 +34,10 @@ feature 'Merge request created from fork' do
ref: merge_request.source_branch)
end
background { pipeline.create_builds(user) }
background do
pipeline.create_builds(user)
pipeline.save
end
scenario 'user visits a pipelines page', js: true do
visit_merge_request(merge_request)
......
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