Commit 4f435c6c authored by Lin Jen-Shin's avatar Lin Jen-Shin

Reload pipeline to make sure it's updated

parent a39ff617
...@@ -462,7 +462,10 @@ describe Ci::ProcessPipelineService, '#execute', :services do ...@@ -462,7 +462,10 @@ describe Ci::ProcessPipelineService, '#execute', :services do
builds.find_by(name: name).play(user) builds.find_by(name: name).play(user)
end end
delegate :manual_actions, to: :pipeline def manual_actions
pipeline.reload
pipeline.manual_actions
end
def create_build(name, **opts) def create_build(name, **opts)
create(:ci_build, :created, pipeline: pipeline, name: name, **opts) create(:ci_build, :created, pipeline: pipeline, name: name, **opts)
......
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