summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-05 10:30:57 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-05 10:30:57 +0200
commit469975c783d8c90e555b64d069e412a3b062073b (patch)
tree70271d7ce3cac5ed368e244c683c51ed6e83f2a9
parentbd76cdc97b5883ee801149a6b37a9ad78e79d164 (diff)
downloadgitlab-ce-469975c783d8c90e555b64d069e412a3b062073b.tar.gz
Revert invalid changes in new pipeline service specs
-rw-r--r--spec/services/ci/create_pipeline_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/ci/create_pipeline_service_spec.rb b/spec/services/ci/create_pipeline_service_spec.rb
index fe5de2ce227..68242fb4e15 100644
--- a/spec/services/ci/create_pipeline_service_spec.rb
+++ b/spec/services/ci/create_pipeline_service_spec.rb
@@ -9,10 +9,10 @@ describe Ci::CreatePipelineService, :services do
end
describe '#execute' do
- def execute_service(after_sha: project.commit.id, message: 'Message', ref: 'refs/heads/master')
+ def execute_service(after: project.commit.id, message: 'Message', ref: 'refs/heads/master')
params = { ref: ref,
before: '00000000',
- after: after_sha,
+ after: after,
commits: [{ message: message }] }
described_class.new(project, user, params).execute