зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-09-07 11:25:52 +03:00
Add UpdatesController#webhook_request
Этот коммит содержится в:
@@ -2,4 +2,13 @@ require 'telegram/bot/rspec/integration/poller'
|
||||
|
||||
RSpec.describe 'Poller integration spec', telegram_bot: :poller do
|
||||
include_examples 'shared integration examples'
|
||||
|
||||
describe '#dispatch' do
|
||||
it 'doesn`t provide webhook_request' do
|
||||
expect(controller_class).to receive(:dispatch).
|
||||
with(bot, hash_including('message')).
|
||||
and_call_original
|
||||
dispatch_message :test
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Ссылка в новой задаче
Block a user