1
0
зеркало из https://github.com/glebtv/telegram-bot.git synced 2026-09-08 20:05:51 +03:00
Files
telegram-bot/lib/telegram/bot/rspec.rb

17 строки
369 B
Ruby

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