Sha256: 631ce7b5994aa0fab1e3f00ed208d050179c2425d71ef7edd3876d0d5bcec7ed
Contents?: true
Size: 430 Bytes
Versions: 14
Compression:
Stored size: 430 Bytes
Contents
require 'telegram/bot/rspec/integration/shared' RSpec.shared_context 'telegram/bot/integration/poller' do include_context 'telegram/bot/integration/shared' let(:controller_class) { described_class } def dispatch(update) controller_class.dispatch(bot, update.as_json) end end Telegram::Bot::RSpec.with_include_context do |config| config.include_context 'telegram/bot/integration/poller', telegram_bot: :poller end
Version data entries
14 entries across 14 versions & 1 rubygems