summaryrefslogtreecommitdiff
path: root/spec/workers/pipeline_update_ci_ref_status_worker_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/pipeline_update_ci_ref_status_worker_service_spec.rb')
-rw-r--r--spec/workers/pipeline_update_ci_ref_status_worker_service_spec.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/workers/pipeline_update_ci_ref_status_worker_service_spec.rb b/spec/workers/pipeline_update_ci_ref_status_worker_service_spec.rb
deleted file mode 100644
index 4e7af16c63d..00000000000
--- a/spec/workers/pipeline_update_ci_ref_status_worker_service_spec.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-# NOTE: This class is unused and to be removed in 13.1~
-RSpec.describe PipelineUpdateCiRefStatusWorker do
- let(:worker) { described_class.new }
- let(:pipeline) { create(:ci_pipeline) }
-
- describe '#perform' do
- it 'updates the ci_ref status' do
- expect(Ci::UpdateCiRefStatusService).to receive(:new)
- .with(pipeline)
- .and_return(double(call: true))
-
- worker.perform(pipeline.id)
- end
- end
-end