Sha256: b2301c0d01108fe3c19710fd3b3ea879cab98380779dc3e0e698d114b1c8b161
Contents?: true
Size: 574 Bytes
Versions: 3
Compression:
Stored size: 574 Bytes
Contents
# frozen_string_literal: true require 'active_support/json' require 'telegram/bot' require 'telegram/bot/rspec/message_helpers' require 'telegram/bot/rspec/callback_query_helpers' RSpec.shared_context 'telegram/bot/integration/shared' do include Telegram::Bot::RSpec::ClientMatchers include_context 'telegram/bot/message_helpers' include_context 'telegram/bot/callback_query', :callback_query let(:bot) { Telegram.bot } let(:clear_session?) { described_class.respond_to?(:session_store) } before { described_class.session_store&.clear if clear_session? } end
Version data entries
3 entries across 3 versions & 1 rubygems