summaryrefslogtreecommitdiff
path: root/spec/factories/services.rb
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-05-31 17:10:03 +0530
committerkushalpandya <kushal@gitlab.com>2017-05-31 17:10:03 +0530
commita57e6a8b760d79a0a2adca8cce0547928599e3cb (patch)
tree9453056b7ed355599faf56274b3ac20acee5c271 /spec/factories/services.rb
parenta2b68693a86493150a68719376cdc990ad93267a (diff)
downloadgitlab-ce-a57e6a8b760d79a0a2adca8cce0547928599e3cb.tar.gz
Add support for Prometheus Service
Diffstat (limited to 'spec/factories/services.rb')
-rw-r--r--spec/factories/services.rb8
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