Chatwoot/spec/factories/integrations/hooks.rb
Sojan Jose 1ef8d03e18
Feature: Slack - receive messages, create threads, send replies (#974)
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-06-22 13:19:26 +05:30

12 lines
294 B
Ruby

FactoryBot.define do
factory :integrations_hook, class: 'Integrations::Hook' do
status { 1 }
inbox_id { 1 }
account_id { 1 }
app_id { 'slack' }
settings { 'MyText' }
hook_type { 1 }
access_token { SecureRandom.hex }
reference_id { SecureRandom.hex }
end
end