Chatwoot/spec/factories/integrations/hooks.rb
Subin T P ed1c871633
Feature: Slack integration (#783)
- Integrations architecture
- Slack integration
2020-06-12 23:12:47 +05:30

12 lines
297 B
Ruby

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