diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-16 15:09:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-16 15:09:06 +0300 |
commit | 0045970352e8729b2797591beb88a7df884d84f4 (patch) | |
tree | b9cd4c5aaaa26ce4a3c944ec5cfdbd7ad44b796d /spec/factories | |
parent | 613868af23d7c0e09210857518895edd6678f5e9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/alert_management/http_integrations.rb | 6 |
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 |