module Telegram::Bot::RSpec
Public Instance Methods
with_include_context() { |config| ... }
click to toggle source
Yelds a block if `include_context` is supported.
# File lib/telegram/bot/rspec.rb, line 9 def with_include_context ::RSpec.configure do |config| yield(config) if config.respond_to?(:include_context) end end