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 удалений

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

@@ -148,7 +148,6 @@ RSpec.describe Telegram::Bot::UpdatesController do
subject { -> { instance.process_action(:action) } }
context 'when callbacks are defined' do
let(:instance) { controller_class.new }
let(:controller_class) do
Class.new(described_class) do
before_action :hook