Sha256: 92bbe5ed249a57fafb2d0c0e3d3d630602bf77e782427e1da3e6e7183de5b263
Contents?: true
Size: 454 Bytes
Versions: 3
Compression:
Stored size: 454 Bytes
Contents
require 'spec_helper' describe SlackRubyBot::Commands::Unknown do def app SlackRubyBot::App.new end it 'invalid command' do expect(message: "#{SlackRubyBot.config.user} foobar").to respond_with_slack_message("Sorry <@user>, I don't understand that command!") end it 'does not respond to sad face' do expect(SlackRubyBot::Commands::Base).to_not receive(:send_message) SlackRubyBot::App.new.send(:message, text: ':((') end end
Version data entries
3 entries across 3 versions & 1 rubygems