Commit cf957405 authored by Peter Leitzen's avatar Peter Leitzen

Clarify example name in alerts controller spec

parent b5bbca81
...@@ -92,7 +92,7 @@ describe Projects::Prometheus::AlertsController do ...@@ -92,7 +92,7 @@ describe Projects::Prometheus::AlertsController do
allow(Projects::Prometheus::Alerts::NotifyService).to receive(:new).and_return(notify_service) allow(Projects::Prometheus::Alerts::NotifyService).to receive(:new).and_return(notify_service)
end end
it 'sends a notification for firing alerts only' do it 'renders ok if notification succeeds' do
expect(notify_service).to receive(:execute).and_return(true) expect(notify_service).to receive(:execute).and_return(true)
post :notify, params: project_params(payload), session: { as: :json } post :notify, params: project_params(payload), session: { as: :json }
......
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