summaryrefslogtreecommitdiff
path: root/spec/factories/alert_management/http_integrations.rb
blob: 9311cb3e1145dd9d174ea488fbab06502b45541d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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