2019-12-21 20:55:43 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
FactoryBot.define do
|
2020-03-09 13:42:32 +05:30
|
|
|
factory :grafana_integration, class: 'GrafanaIntegration' do
|
2019-12-21 20:55:43 +05:30
|
|
|
project
|
2019-12-26 22:10:19 +05:30
|
|
|
grafana_url { 'https://grafana.example.com' }
|
2019-12-21 20:55:43 +05:30
|
|
|
token { SecureRandom.hex(10) }
|
2019-12-26 22:10:19 +05:30
|
|
|
enabled { true }
|
2019-12-21 20:55:43 +05:30
|
|
|
end
|
|
|
|
end
|