diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-15 18:08:04 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-15 18:08:04 +0300 |
commit | c4c1fc5fe7c756fc6f8f79eb1624b1bbe4fe2d69 (patch) | |
tree | 8c95e39fc4956cdd9178c46ea85cbeeeac3bc360 /spec/factories | |
parent | 927df95cc4453bdacbc59960df32008b02c4e28a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/alert_management/alerts.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/alert_management/alerts.rb b/spec/factories/alert_management/alerts.rb index a86dc63dc17..0e1c0433905 100644 --- a/spec/factories/alert_management/alerts.rb +++ b/spec/factories/alert_management/alerts.rb @@ -60,6 +60,10 @@ FactoryBot.define do severity { 'low' } end + trait :prometheus do + monitoring_tool { Gitlab::AlertManagement::AlertParams::MONITORING_TOOLS[:prometheus] } + end + trait :all_fields do with_issue with_fingerprint |