Sha256: d19976eb946dccb6c509b780e0683df54d6b9996e53e859305388b2d0cf847b3
Contents?: true
Size: 461 Bytes
Versions: 10
Compression:
Stored size: 461 Bytes
Contents
require 'spec_helper' describe SlackRubyBot::Commands do let! :command do Class.new(SlackRubyBot::Commands::Base) do command '(' do |client, data, match| client.say(channel: data.channel, text: "#{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
10 entries across 10 versions & 1 rubygems