debian-mirror-gitlab/spec/factories/clusters/integrations/prometheus.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
280 B
Ruby
Raw Normal View History

2021-04-29 21:17:54 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :clusters_integrations_prometheus, class: 'Clusters::Integrations::Prometheus' do
cluster factory: %i(cluster provided_by_gcp)
enabled { true }
trait :disabled do
enabled { false }
end
end
end