Commit c4550606 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix code layout in cross pipeline service specs

parent ff82c583
...@@ -7,7 +7,8 @@ describe Ci::CreateCrossProjectPipelineService, '#execute' do ...@@ -7,7 +7,8 @@ describe Ci::CreateCrossProjectPipelineService, '#execute' do
set(:user) { create(:user) } set(:user) { create(:user) }
let(:trigger) do let(:trigger) do
{ trigger: { {
trigger: {
project: downstream_project.full_path, project: downstream_project.full_path,
branch: 'feature' branch: 'feature'
} }
...@@ -20,7 +21,6 @@ describe Ci::CreateCrossProjectPipelineService, '#execute' do ...@@ -20,7 +21,6 @@ describe Ci::CreateCrossProjectPipelineService, '#execute' do
pipeline: upstream_pipeline) pipeline: upstream_pipeline)
end end
let(:service) { described_class.new(upstream_project, user) } let(:service) { described_class.new(upstream_project, user) }
before do before do
......
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