summaryrefslogtreecommitdiff
path: root/spec/models/prometheus_alert_event_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/prometheus_alert_event_spec.rb')
-rw-r--r--spec/models/prometheus_alert_event_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/prometheus_alert_event_spec.rb b/spec/models/prometheus_alert_event_spec.rb
index 913ca7db0be..6bff549bc4b 100644
--- a/spec/models/prometheus_alert_event_spec.rb
+++ b/spec/models/prometheus_alert_event_spec.rb
@@ -52,7 +52,7 @@ RSpec.describe PrometheusAlertEvent do
let(:started_at) { Time.current }
context 'when status is none' do
- subject { build(:prometheus_alert_event, :none) }
+ subject { build(:prometheus_alert_event, status: nil, started_at: nil) }
it 'fires an event' do
result = subject.fire(started_at)