diff options
| author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-03 18:09:25 +0000 |
|---|---|---|
| committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-03 18:09:25 +0000 |
| commit | 174343966742d2f4b87ac84f9ce4ee576cb9d75e (patch) | |
| tree | 265908b79177da98dcd58cac300d81090416a8ee /spec/workers/ci/pipeline_artifacts | |
| parent | 6cbb93596d65dff377372f4b50da932dcf6dc514 (diff) | |
| download | gitlab-ce-174343966742d2f4b87ac84f9ce4ee576cb9d75e.tar.gz | |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/ci/pipeline_artifacts')
| -rw-r--r-- | spec/workers/ci/pipeline_artifacts/create_quality_report_worker_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/ci/pipeline_artifacts/create_quality_report_worker_spec.rb b/spec/workers/ci/pipeline_artifacts/create_quality_report_worker_spec.rb index 6755c93ae47..be351032b58 100644 --- a/spec/workers/ci/pipeline_artifacts/create_quality_report_worker_spec.rb +++ b/spec/workers/ci/pipeline_artifacts/create_quality_report_worker_spec.rb @@ -11,7 +11,7 @@ RSpec.describe ::Ci::PipelineArtifacts::CreateQualityReportWorker do let(:pipeline_id) { pipeline.id } it 'calls pipeline codequality report service' do - expect_next_instance_of(::Ci::PipelineArtifacts::CreateQualityReportService) do |quality_report_service| + expect_next_instance_of(::Ci::PipelineArtifacts::CreateCodeQualityMrDiffReportService) do |quality_report_service| expect(quality_report_service).to receive(:execute) end @@ -31,7 +31,7 @@ RSpec.describe ::Ci::PipelineArtifacts::CreateQualityReportWorker do let(:pipeline_id) { non_existing_record_id } it 'does not call pipeline codequality report service' do - expect(Ci::PipelineArtifacts::CreateQualityReportService).not_to receive(:execute) + expect(Ci::PipelineArtifacts::CreateCodeQualityMrDiffReportService).not_to receive(:execute) subject end |
