summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-09-02 22:33:39 +0800
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-01-31 22:55:33 +0000
commit8fd926fe862fdaa5f44c11c2184c7e2734e5e173 (patch)
tree8c759426828e02a22d7f274b2c0a78e5451bbeee /features
parent109553afd0ba80d47a282eb5e68ce3b5eda1d818 (diff)
downloadgitlab-ce-8fd926fe862fdaa5f44c11c2184c7e2734e5e173.tar.gz
Project#ensure_pipeline changed the args order
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/pages.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/pages.rb b/features/steps/project/pages.rb
index a76672168fb..c80c6273807 100644
--- a/features/steps/project/pages.rb
+++ b/features/steps/project/pages.rb
@@ -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,