зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-08-28 15:26:18 +03:00
* Update rubopcop [WIP] * Further rubocop fixes * Fix rubocop-rails cops * Fix spec * Disable rubocop suggestions * Run rubocop in github actions rather than in codeclimate
19 строки
400 B
Ruby
19 строки
400 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|