Module: Telegram::Bot::RSpec
- Defined in:
- lib/telegram/bot/rspec.rb,
lib/telegram/bot/rspec/client_matchers.rb
Defined Under Namespace
Modules: ClientMatchers Classes: ArgListMatcher
Class Method Summary collapse
-
.with_include_context ⇒ Object
Yelds a block if ‘include_context` is supported.
Class Method Details
.with_include_context ⇒ Object
Yelds a block if ‘include_context` is supported.
11 12 13 14 15 |
# File 'lib/telegram/bot/rspec.rb', line 11 def with_include_context ::RSpec.configure do |config| yield(config) if config.respond_to?(:include_context) end end |