Sha256: 8b2692bb71f5f1fe9e7cb9997ef87d1b400591c23a872089fb4fcf9f25bd5cce
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
require 'spec_helper' describe SlackRubyBot::Commands do let! :command do Class.new(SlackRubyBot::Commands::Base) do command 'empty_text' def self.call(client, data, _match) client.say(channel: data.channel) end end end it 'sends default text' do expect(message: "#{SlackRubyBot.config.user} empty_text", channel: 'channel', user: 'user').to respond_with_slack_message('') end end
Version data entries
3 entries across 3 versions & 1 rubygems