Fix EE spec for Projects::Prometheus::Alerts::NotifyService

parent e6e2c4ef
...@@ -29,10 +29,10 @@ describe Projects::Prometheus::Alerts::NotifyService do ...@@ -29,10 +29,10 @@ describe Projects::Prometheus::Alerts::NotifyService do
end end
end end
shared_examples 'processes incident issues', :sidekiq do |amount| shared_examples 'processes incident issues' do |amount|
let(:create_incident_service) { spy } let(:create_incident_service) { spy }
it 'processes issues' do it 'processes issues', :sidekiq do
expect(IncidentManagement::ProcessAlertWorker) expect(IncidentManagement::ProcessAlertWorker)
.to receive(:perform_async) .to receive(:perform_async)
.with(project.id, kind_of(Hash)) .with(project.id, kind_of(Hash))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment