debian-mirror-gitlab/spec/factories/alert_management/http_integrations.rb
2021-01-30 21:13:32 +05:30

14 lines
311 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :alert_management_http_integration, class: 'AlertManagement::HttpIntegration' do
project
active { true }
name { 'DataDog' }
endpoint_identifier { SecureRandom.hex(4) }
trait :inactive do
active { false }
end
end
end