Commit 15672c17 authored by Sean Arnold's avatar Sean Arnold

Fix presenter spec

parent 18268705
...@@ -15,7 +15,7 @@ RSpec.describe AlertManagement::AlertPresenter do ...@@ -15,7 +15,7 @@ RSpec.describe AlertManagement::AlertPresenter do
end end
let_it_be(:alert) do let_it_be(:alert) do
build(:alert_management_alert, :with_description, :with_host, :with_service, :with_monitoring_tool, project: project, payload: generic_payload) create(:alert_management_alert, :with_description, :with_host, :with_service, :with_monitoring_tool, project: project, payload: generic_payload)
end end
let(:alert_url) { "http://localhost/#{project.full_path}/-/alert_management/#{alert.iid}/details" } let(:alert_url) { "http://localhost/#{project.full_path}/-/alert_management/#{alert.iid}/details" }
......
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