Sha256: c53a71bf7809fbf9a40fe0c64375ada86d6335478500291d6917a18ddb17a8b2
Contents?: true
Size: 636 Bytes
Versions: 5
Compression:
Stored size: 636 Bytes
Contents
describe SlackRubyBot do def client SlackRubyBot::Client.new aliases: %w[:emoji: alias каспаров B0?.@(*^$] end it 'responds to emoji' do expect(message: ':emoji: hi').to respond_with_slack_message('Hi <@user>!') end it 'responds to an alias' do expect(message: 'alias hi').to respond_with_slack_message('Hi <@user>!') end it 'responds to a non-English alias' do expect(message: 'каспаров hi').to respond_with_slack_message('Hi <@user>!') end it 'responds to an alias with special characters' do expect(message: 'B0?.@(*^$ hi').to respond_with_slack_message('Hi <@user>!') end end
Version data entries
5 entries across 5 versions & 1 rubygems