Files
chatwoot/spec/factories/webhooks.rb
2023-02-13 13:28:27 -08:00

20 lines
397 B
Ruby

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
contact_created
contact_updated
message_created
message_updated
webwidget_triggered
]
end
end
end