Sha256: 31f7a0901b2bb1fa14053afad2f88b20f65e75bb3fbe25778d785b1ec5c52547
Contents?: true
Size: 581 Bytes
Versions: 5
Compression:
Stored size: 581 Bytes
Contents
# frozen_string_literal: true describe SlackRubyBot::Commands::Default do it 'lowercase' do expect(message: SlackRubyBot.config.user).to respond_with_slack_message(SlackRubyBot::ABOUT) end it 'upcase' do expect(message: SlackRubyBot.config.user.upcase).to respond_with_slack_message(SlackRubyBot::ABOUT) end it 'name:' do expect(message: "#{SlackRubyBot.config.user}:").to respond_with_slack_message(SlackRubyBot::ABOUT) end it 'id' do expect(message: "<@#{SlackRubyBot.config.user_id}>").to respond_with_slack_message(SlackRubyBot::ABOUT) end end
Version data entries
5 entries across 5 versions & 1 rubygems