Sha256: cf5eb50e03a2429c0659451747735906d98dcaac0268aa39d61b612d7e459ddc

Contents?: true

Size: 248 Bytes

Versions: 17

Compression:

Stored size: 248 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :webhook_target do
    sequence(:name) { |n| "Webhook Target #{n}" }
    target_url { 'https://hook.example.com/api/callback' }
    events { ['subnet_created.event.foreman'] }
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
foreman_webhooks-3.1.1 test/factories/webhook_target.rb
foreman_webhooks-3.1.0 test/factories/webhook_target.rb
foreman_webhooks-3.0.5 test/factories/webhook_target.rb
foreman_webhooks-2.0.3 test/factories/webhook_target.rb
foreman_webhooks-3.0.4 test/factories/webhook_target.rb
foreman_webhooks-2.0.2 test/factories/webhook_target.rb
foreman_webhooks-3.0.3 test/factories/webhook_target.rb
foreman_webhooks-3.0.2 test/factories/webhook_target.rb
foreman_webhooks-3.0.1 test/factories/webhook_target.rb
foreman_webhooks-2.0.1 test/factories/webhook_target.rb
foreman_webhooks-3.0.0 test/factories/webhook_target.rb
foreman_webhooks-2.0.0 test/factories/webhook_target.rb
foreman_webhooks-1.1.0 test/factories/webhook_target.rb
foreman_webhooks-1.0.0 test/factories/webhook_target.rb
foreman_webhooks-0.0.3 test/factories/webhook_target.rb
foreman_webhooks-0.0.2 test/factories/webhook_target.rb
foreman_webhooks-0.0.1 test/factories/webhook_target.rb