diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-06-05 10:30:57 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-06-05 10:30:57 +0200 |
commit | 469975c783d8c90e555b64d069e412a3b062073b (patch) | |
tree | 70271d7ce3cac5ed368e244c683c51ed6e83f2a9 | |
parent | bd76cdc97b5883ee801149a6b37a9ad78e79d164 (diff) | |
download | gitlab-ce-469975c783d8c90e555b64d069e412a3b062073b.tar.gz |
Revert invalid changes in new pipeline service specs
-rw-r--r-- | spec/services/ci/create_pipeline_service_spec.rb | 4 |
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 |