diff options
Diffstat (limited to 'spec/controllers/projects/prometheus/alerts_controller_spec.rb')
-rw-r--r-- | spec/controllers/projects/prometheus/alerts_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/prometheus/alerts_controller_spec.rb b/spec/controllers/projects/prometheus/alerts_controller_spec.rb index cbd599506df..46de8aa4baf 100644 --- a/spec/controllers/projects/prometheus/alerts_controller_spec.rb +++ b/spec/controllers/projects/prometheus/alerts_controller_spec.rb @@ -168,7 +168,7 @@ RSpec.describe Projects::Prometheus::AlertsController do expect(Projects::Prometheus::Alerts::NotifyService) .to receive(:new) - .with(project, nil, duck_type(:permitted?)) + .with(project, duck_type(:permitted?)) .and_return(notify_service) end |