Sha256: 2c656432b960ecad258b2eae45877ff72a86c96d249634213b4c8ff317ceaedc

Contents?: true

Size: 369 Bytes

Versions: 14

Compression:

Stored size: 369 Bytes

Contents

module Telegram
  module Bot
    module RSpec
      autoload :ClientMatchers, 'telegram/bot/rspec/client_matchers'

      module_function

      # Yelds a block if `include_context` is supported.
      def with_include_context
        ::RSpec.configure do |config|
          yield(config) if config.respond_to?(:include_context)
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
telegram-bot-0.16.1 lib/telegram/bot/rspec.rb
telegram-bot-0.16.0 lib/telegram/bot/rspec.rb
telegram-bot-0.15.7 lib/telegram/bot/rspec.rb
telegram-bot-0.15.6 lib/telegram/bot/rspec.rb
telegram-bot-0.15.4 lib/telegram/bot/rspec.rb
telegram-bot-0.15.3 lib/telegram/bot/rspec.rb
telegram-bot-0.15.2 lib/telegram/bot/rspec.rb
telegram-bot-0.15.1 lib/telegram/bot/rspec.rb
telegram-bot-0.15.0 lib/telegram/bot/rspec.rb
telegram-bot-0.14.4 lib/telegram/bot/rspec.rb
telegram-bot-0.14.3 lib/telegram/bot/rspec.rb
telegram-bot-0.14.2 lib/telegram/bot/rspec.rb
telegram-bot-0.14.1 lib/telegram/bot/rspec.rb
telegram-bot-0.14.0 lib/telegram/bot/rspec.rb