Files
chatwoot/spec/factories/integrations/hooks.rb
Sojan Jose b30ecb27a6 feat: Add APIs for Dialogflow integration V1 (#2155)
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
2021-05-05 21:06:11 +05:30

13 lines
360 B
Ruby

FactoryBot.define do
factory :integrations_hook, class: 'Integrations::Hook' do
status { Integrations::Hook.statuses['enabled'] }
inbox
account
app_id { 'slack' }
settings { { 'test': 'test' } }
hook_type { Integrations::Hook.statuses['account'] }
access_token { SecureRandom.hex }
reference_id { SecureRandom.hex }
end
end