lib/telegram/bot/updates_controller/testing.rb in telegram-bot-0.15.7 vs lib/telegram/bot/updates_controller/testing.rb in telegram-bot-0.16.0

- old
+ new

@@ -3,12 +3,12 @@ class UpdatesController module Testing IVARS_TO_KEEP = %i[@_session].freeze # Perform multiple dispatches on same instance. - def dispatch_again(bot = nil, update = nil) + def dispatch_again(bot = nil, update = nil, webhook_request = nil) recycle! - initialize(bot, update) + initialize(bot, update, webhook_request) dispatch end # Cleans controller between dispatches. # Seems like there is nothing to clean between requests for now: