Project#ensure_pipeline changed the args order

This commit is contained in:
Lin Jen-Shin 2016-09-02 22:33:39 +08:00 committed by James Edwards-Jones
parent 109553afd0
commit 8fd926fe86
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class Spinach::Features::ProjectPages < Spinach::FeatureSteps
end
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,
project: @project,
pipeline: pipeline,