diff options
author | kushalpandya <kushal@gitlab.com> | 2017-05-31 17:10:03 +0530 |
---|---|---|
committer | kushalpandya <kushal@gitlab.com> | 2017-05-31 17:10:03 +0530 |
commit | a57e6a8b760d79a0a2adca8cce0547928599e3cb (patch) | |
tree | 9453056b7ed355599faf56274b3ac20acee5c271 /spec/factories | |
parent | a2b68693a86493150a68719376cdc990ad93267a (diff) | |
download | gitlab-ce-a57e6a8b760d79a0a2adca8cce0547928599e3cb.tar.gz |
Add support for Prometheus Service
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/services.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/services.rb b/spec/factories/services.rb index 3fad4d2d658..412dd82c929 100644 --- a/spec/factories/services.rb +++ b/spec/factories/services.rb @@ -25,6 +25,14 @@ FactoryGirl.define do }) end + factory :prometheus_service do + project factory: :empty_project + active true + properties({ + api_url: 'https://prometheus.example.com/' + }) + end + factory :jira_service do project factory: :empty_project active true |