Sha256: 1669e41381910abb27b13383394283a59cdfe99c0d4da1ef6601a5bfb32cb5da
Contents?: true
Size: 615 Bytes
Versions: 13
Compression:
Stored size: 615 Bytes
Contents
require 'spec_helper' describe SlackRubyBot::Commands::Default do def app SlackRubyBot::App.new end 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
13 entries across 13 versions & 2 rubygems