Commit 469975c7 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Revert invalid changes in new pipeline service specs

parent bd76cdc9
...@@ -9,10 +9,10 @@ describe Ci::CreatePipelineService, :services do ...@@ -9,10 +9,10 @@ describe Ci::CreatePipelineService, :services do
end end
describe '#execute' do 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, params = { ref: ref,
before: '00000000', before: '00000000',
after: after_sha, after: after,
commits: [{ message: message }] } commits: [{ message: message }] }
described_class.new(project, user, params).execute described_class.new(project, user, params).execute
......
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