Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/integrations/execute_worker_spec.rb')
-rw-r--r--spec/workers/integrations/execute_worker_spec.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/spec/workers/integrations/execute_worker_spec.rb b/spec/workers/integrations/execute_worker_spec.rb
index 19600f35c8f..0e585e3006c 100644
--- a/spec/workers/integrations/execute_worker_spec.rb
+++ b/spec/workers/integrations/execute_worker_spec.rb
@@ -36,26 +36,4 @@ RSpec.describe Integrations::ExecuteWorker, '#perform' do
end.not_to raise_error
end
end
-
- context 'when using the old worker class' do
- let(:described_class) { ProjectServiceWorker }
-
- it 'uses the correct worker attributes', :aggregate_failures do
- expect(described_class.sidekiq_options).to include('retry' => 3, 'dead' => false)
- expect(described_class.get_data_consistency).to eq(:always)
- expect(described_class.get_feature_category).to eq(:integrations)
- expect(described_class.get_urgency).to eq(:low)
- expect(described_class.worker_has_external_dependencies?).to be(true)
- end
-
- it 'executes integration with given data' do
- data = { test: 'test' }
-
- expect_next_found_instance_of(integration.class) do |integration|
- expect(integration).to receive(:execute).with(data)
- end
-
- worker.perform(integration.id, data)
- end
- end
end