зеркало из
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
12 строки
290 B
Ruby
12 строки
290 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'integration_helper'
|
|
|
|
RSpec.describe NamedBotController, telegram_bot: :rails do
|
|
let(:bot) { Telegram.bots[:named] }
|
|
describe '#start' do
|
|
subject { -> { dispatch_command :start } }
|
|
it { should respond_with_message 'from named' }
|
|
end
|
|
end
|