зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-09-08 03:45:52 +03:00
Ruby 3.0 support, drop support for Ruby < 2.4
Этот коммит содержится в:
@@ -41,7 +41,7 @@ RSpec.describe Telegram::Bot::RoutesHelper do
|
||||
end
|
||||
|
||||
describe '#telegram_webhook' do
|
||||
subject { ->(*args) { mapper.telegram_webhook(*args) } }
|
||||
subject { ->(*args, **kwargs) { mapper.telegram_webhook(*args, **kwargs) } }
|
||||
let(:mapper) { double(:mapper).tap { |x| x.extend described_class } }
|
||||
let(:controller) { double(:controller, name: :controller) }
|
||||
before { allow(Telegram).to receive(:bots) { bots } }
|
||||
|
||||
Ссылка в новой задаче
Block a user