1
0
зеркало из https://github.com/glebtv/telegram-bot.git synced 2026-09-03 17:55:52 +03:00

ClientStub and improved rspec helpers

Этот коммит содержится в:
Max Melentiev
2016-02-28 21:53:54 +06:00
родитель bff412360e
Коммит f549ed53a5
6 изменённых файлов: 59 добавлений и 4 удалений

Просмотреть файл

@@ -1,6 +1,5 @@
RSpec.describe Telegram::Bot::UpdatesController::TypedUpdate do
include_context 'telegram/bot/updates_controller'
let(:instance) { controller_class.new(bot, update) }
let(:controller_class) do
described_class = self.described_class
Class.new(Telegram::Bot::UpdatesController) do