summaryrefslogtreecommitdiff
path: root/spec/workers/clusters/applications/activate_integration_worker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/clusters/applications/activate_integration_worker_spec.rb')
-rw-r--r--spec/workers/clusters/applications/activate_integration_worker_spec.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/workers/clusters/applications/activate_integration_worker_spec.rb b/spec/workers/clusters/applications/activate_integration_worker_spec.rb
index ecb49be5a4b..5163e4681fa 100644
--- a/spec/workers/clusters/applications/activate_integration_worker_spec.rb
+++ b/spec/workers/clusters/applications/activate_integration_worker_spec.rb
@@ -40,15 +40,6 @@ RSpec.describe Clusters::Applications::ActivateIntegrationWorker, '#perform' do
expect { described_class.new.perform(cluster.id, integration_name) }
.to change { project.reload.prometheus_integration&.active }.from(nil).to(true)
end
-
- context 'when using the old worker class' do
- let(:described_class) { Clusters::Applications::ActivateServiceWorker }
-
- it 'ensures Prometheus integration is activated' do
- expect { described_class.new.perform(cluster.id, integration_name) }
- .to change { project.reload.prometheus_integration&.active }.from(nil).to(true)
- end
- end
end
end
end