Chatwoot/spec/factories/webhooks.rb

18 lines
349 B
Ruby
Raw Permalink Normal View History

2020-02-14 17:49:17 +00:00
FactoryBot.define do
factory :webhook do
account_id { 1 }
inbox_id { 1 }
url { 'https://api.chatwoot.com' }
subscriptions do
%w[
conversation_status_changed
conversation_updated
conversation_created
message_created
message_updated
webwidget_triggered
]
end
2020-02-14 17:49:17 +00:00
end
end