mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
Chore: Add Twitter documentation (#648)
* Chore: Add Twitter documentation Co-authored-by: Sojan <sojan@pepalo.com>
This commit is contained in:
@@ -24,7 +24,7 @@ RSpec.describe 'Twitter::CallbacksController', type: :request do
|
||||
it 'renders the page correctly when called with website_token' do
|
||||
get twitter_callback_url
|
||||
account.reload
|
||||
expect(response).to redirect_to app_twitter_inbox_agents_url(inbox_id: account.inboxes.last.id)
|
||||
expect(response).to redirect_to app_twitter_inbox_agents_url(account_id: account.id, inbox_id: account.inboxes.last.id)
|
||||
expect(account.inboxes.count).to be 1
|
||||
expect(account.twitter_profiles.last.inbox.name).to eq 'chatwoot'
|
||||
expect(account.twitter_profiles.last.profile_id).to eq '100'
|
||||
|
||||
Reference in New Issue
Block a user