2020-06-12 17:42:47 +00:00
|
|
|
FactoryBot.define do
|
|
|
|
factory :integrations_hook, class: 'Integrations::Hook' do
|
2021-05-05 15:36:11 +00:00
|
|
|
status { Integrations::Hook.statuses['enabled'] }
|
|
|
|
inbox
|
|
|
|
account
|
2020-06-22 07:49:26 +00:00
|
|
|
app_id { 'slack' }
|
2021-05-05 15:36:11 +00:00
|
|
|
settings { { 'test': 'test' } }
|
|
|
|
hook_type { Integrations::Hook.statuses['account'] }
|
2020-06-12 17:42:47 +00:00
|
|
|
access_token { SecureRandom.hex }
|
|
|
|
reference_id { SecureRandom.hex }
|
|
|
|
end
|
|
|
|
end
|