Sha256: 8c982d43d6864acd2628e9ebde688231aeff4c31a5c37468b819cbffff5e8cda

Contents?: true

Size: 277 Bytes

Versions: 5

Compression:

Stored size: 277 Bytes

Contents

# frozen_string_literal: true

describe SlackRubyBot::Commands::Unknown do
  def app
    SlackRubyBot::App.new
  end
  it 'bot' do
    expect(message: "#{SlackRubyBot.config.user} bot").to respond_with_slack_message("Sorry <@user>, I don't understand that command!")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slack-ruby-bot-0.16.1 spec/slack-ruby-bot/commands/bot_message_spec.rb
slack-ruby-bot-0.16.0 spec/slack-ruby-bot/commands/bot_message_spec.rb
slack-ruby-bot-0.15.0 spec/slack-ruby-bot/commands/bot_message_spec.rb
slack-ruby-bot-0.14.0 spec/slack-ruby-bot/commands/bot_message_spec.rb
slack-ruby-bot-0.13.0 spec/slack-ruby-bot/commands/bot_message_spec.rb