Commit adf6e3c0 authored by Shinya Maeda's avatar Shinya Maeda

Fix flaky spec in create_cross_project_pipeline_worker_spec

parent f6af4a14
......@@ -4,7 +4,7 @@ describe Ci::CreateCrossProjectPipelineWorker do
set(:user) { create(:user) }
set(:project) { create(:project) }
set(:pipeline) { create(:ci_pipeline, project: project) }
set(:bridge) { create(:ci_bridge, user: user, pipeline: pipeline) }
let(:bridge) { create(:ci_bridge, user: user, pipeline: pipeline) }
let(:service) { double('pipeline creation service') }
......@@ -27,7 +27,7 @@ describe Ci::CreateCrossProjectPipelineWorker do
expect(Ci::CreateCrossProjectPipelineService)
.not_to receive(:new)
described_class.new.perform(123)
described_class.new.perform(1234)
end
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