1
0
зеркало из https://github.com/glebtv/telegram-bot.git synced 2026-09-06 19:15:50 +03:00

Add deprecated fallback at telegram/bot/rspec/integration

Этот коммит содержится в:
Max Melentiev
2018-06-06 13:33:32 +06:00
родитель a9b45c70cf
Коммит fb02c34be9
7 изменённых файлов: 23 добавлений и 5 удалений

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

@@ -1,6 +1,6 @@
require 'integration_helper'
RSpec.describe DefaultBotController, :telegram_bot, type: :request do
RSpec.describe DefaultBotController, telegram_bot: :rails do
describe '#start' do
subject { -> { dispatch_command :start } }
it { should respond_with_message 'from default' }

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

@@ -1,6 +1,6 @@
require 'integration_helper'
RSpec.describe NamedBotController, :telegram_bot, type: :request do
RSpec.describe NamedBotController, telegram_bot: :rails do
let(:bot) { Telegram.bots[:named] }
describe '#start' do
subject { -> { dispatch_command :start } }

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

@@ -1,6 +1,6 @@
require 'integration_helper'
RSpec.describe OtherBotController, :telegram_bot, type: :request do
RSpec.describe OtherBotController, telegram_bot: :rails do
let(:bot) { Telegram.bots[:other] }
describe '#start' do
subject { -> { dispatch_command :start } }