summaryrefslogtreecommitdiff
path: root/spec/factories/alert_management/http_integrations.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-16 12:09:06 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-16 12:09:06 +0000
commit0045970352e8729b2797591beb88a7df884d84f4 (patch)
treeb9cd4c5aaaa26ce4a3c944ec5cfdbd7ad44b796d /spec/factories/alert_management/http_integrations.rb
parent613868af23d7c0e09210857518895edd6678f5e9 (diff)
downloadgitlab-ce-0045970352e8729b2797591beb88a7df884d84f4.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/alert_management/http_integrations.rb')
-rw-r--r--spec/factories/alert_management/http_integrations.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/factories/alert_management/http_integrations.rb b/spec/factories/alert_management/http_integrations.rb
index 405ec09251f..43cf8b3c6db 100644
--- a/spec/factories/alert_management/http_integrations.rb
+++ b/spec/factories/alert_management/http_integrations.rb
@@ -19,6 +19,12 @@ FactoryBot.define do
endpoint_identifier { 'legacy' }
end
+ trait :prometheus do
+ type_identifier { :prometheus }
+ end
+
initialize_with { new(**attributes) }
+
+ factory :alert_management_prometheus_integration, traits: [:prometheus]
end
end