Sha256: 83bfab59e742e5ed35dee9e59fdce15cc06bd53cb88f283d0849ca9cd4cdb4d6
Contents?: true
Size: 455 Bytes
Versions: 7
Compression:
Stored size: 455 Bytes
Contents
require 'spec_helper' describe SlackRubyBot::Commands do let! :command do Class.new(SlackRubyBot::Commands::Base) do command '(' do |client, data, match| send_message client, data.channel, "#{match[:command]}: #{match[:expression]}" end end end def app SlackRubyBot::App.new end it 'does not return error' do expect(message: "#{SlackRubyBot.config.user} ( /").to respond_with_slack_message('(: /') end end
Version data entries
7 entries across 7 versions & 2 rubygems