diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-01 18:07:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-01 18:07:45 +0300 |
commit | 1219a9dce91f4edbc135dfc08299b4122b4825a8 (patch) | |
tree | e7d12a55d75a2d56e60d9527bef3724e3578866d /spec/workers/ci | |
parent | 1a0d6dbdc2ac3047f4953a359ef27ba6e26074ae (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/ci')
-rw-r--r-- | spec/workers/ci/create_cross_project_pipeline_worker_spec.rb | 2 | ||||
-rw-r--r-- | spec/workers/ci/pipeline_bridge_status_worker_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/ci/create_cross_project_pipeline_worker_spec.rb b/spec/workers/ci/create_cross_project_pipeline_worker_spec.rb index 22eab1d20f7..492f5e812ee 100644 --- a/spec/workers/ci/create_cross_project_pipeline_worker_spec.rb +++ b/spec/workers/ci/create_cross_project_pipeline_worker_spec.rb @@ -29,7 +29,7 @@ describe Ci::CreateCrossProjectPipelineWorker do expect(Ci::CreateCrossProjectPipelineService) .not_to receive(:new) - described_class.new.perform(1234) + described_class.new.perform(non_existing_record_id) end end end diff --git a/spec/workers/ci/pipeline_bridge_status_worker_spec.rb b/spec/workers/ci/pipeline_bridge_status_worker_spec.rb index d5f95a035fd..a6129b2cf93 100644 --- a/spec/workers/ci/pipeline_bridge_status_worker_spec.rb +++ b/spec/workers/ci/pipeline_bridge_status_worker_spec.rb @@ -25,7 +25,7 @@ describe Ci::PipelineBridgeStatusWorker do end context 'when pipeline does not exist' do - let(:pipeline_id) { 1234 } + let(:pipeline_id) { non_existing_record_id } it 'does not call the service' do expect(Ci::PipelineBridgeStatusService) |