Commit 8fd926fe authored by Lin Jen-Shin's avatar Lin Jen-Shin Committed by James Edwards-Jones

Project#ensure_pipeline changed the args order

parent 109553af
...@@ -27,7 +27,7 @@ class Spinach::Features::ProjectPages < Spinach::FeatureSteps ...@@ -27,7 +27,7 @@ class Spinach::Features::ProjectPages < Spinach::FeatureSteps
end end
step 'pages are deployed' do step 'pages are deployed' do
pipeline = @project.ensure_pipeline(@project.commit('HEAD').sha, 'HEAD') pipeline = @project.ensure_pipeline('HEAD', @project.commit('HEAD').sha)
build = build(:ci_build, build = build(:ci_build,
project: @project, project: @project,
pipeline: pipeline, pipeline: pipeline,
......
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