Commit 6c7f1c57 authored by Rémy Coutable's avatar Rémy Coutable

Fix spec/services/git_push_service_spec.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 40297d28
......@@ -146,14 +146,14 @@ describe GitPushService, services: true do
end
describe "Pipelines" do
subject { execute_service(project, user, @oldrev, @newrev, @ref) }
subject { execute_service(project, user, oldrev, newrev, ref) }
before do
stub_ci_pipeline_to_return_yaml_file
end
it "creates a new pipeline" do
expect{ subject }.to change{ Ci::Pipeline.count }
expect{ subject }.to change { Ci::Pipeline.count }
expect(Ci::Pipeline.last).to be_push
end
end
......
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