debian-mirror-gitlab/spec/factories/alert_management/http_integrations.rb

15 lines
311 B
Ruby
Raw Normal View History

2021-01-03 14:25:43 +05:30
# 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