Bug: Fix autoload_paths for facebook bot (#877)

* Fix autoload_paths for facebook bot
This commit is contained in:
Pranav Raj S
2020-05-18 15:32:26 +05:30
committed by GitHub
parent 6e92d9be9e
commit 3f5ce2ddbf
5 changed files with 25 additions and 22 deletions

View File

@@ -9,7 +9,7 @@ describe Facebook::SendReplyService do
end
let!(:account) { create(:account) }
let(:bot) { class_double('Bot').as_stubbed_const }
let(:bot) { class_double('FacebookBot::Bot').as_stubbed_const }
let!(:widget_inbox) { create(:inbox, account: account) }
let!(:facebook_channel) { create(:channel_facebook_page, account: account) }
let!(:facebook_inbox) { create(:inbox, channel: facebook_channel, account: account) }