[Feature] Email collect message hooks (#331)

- Add email collect hook on creating conversation
- Merge contact if it already exist
This commit is contained in:
Sojan Jose
2020-01-09 13:06:40 +05:30
committed by Pranav Raj S
parent 59d4eaeca7
commit 722f540b03
68 changed files with 1111 additions and 544 deletions
@@ -1,12 +1,14 @@
require 'rails_helper'
describe WidgetTestsController, type: :controller do
let(:channel_widget) { create(:channel_widget) }
describe '/widget_tests', type: :request do
before do
create(:channel_widget)
end
describe '#index' do
describe 'GET /widget_tests' do
it 'renders the page correctly' do
get :index
expect(response.status).to eq 200
get widget_tests_url
expect(response).to be_successful
end
end
end