Skip to content

Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬

250 B
Raw Blame
FactoryBot.define do
  factory :channel_api, class: 'Channel::Api' do
    webhook_url { 'http://example.com' }
    account
    after(:create) do |channel_api|
      create(:inbox, channel: channel_api, account: channel_api.account)
    end
  end
end