Sha256: e616ba4b962ccea571c082ade94a7fe100a65643971f2bdba929ffe0f1f3de03

Contents?: true

Size: 550 Bytes

Versions: 8

Compression:

Stored size: 550 Bytes

Contents

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

8 entries across 8 versions & 1 rubygems

Version Path
slack-ruby-bot-0.12.0 spec/slack-ruby-bot/commands/about_spec.rb
slack-ruby-bot-0.11.2 spec/slack-ruby-bot/commands/about_spec.rb
slack-ruby-bot-0.11.1 spec/slack-ruby-bot/commands/about_spec.rb
slack-ruby-bot-0.11.0 spec/slack-ruby-bot/commands/about_spec.rb
slack-ruby-bot-0.10.5 spec/slack-ruby-bot/commands/about_spec.rb
slack-ruby-bot-0.10.4 spec/slack-ruby-bot/commands/about_spec.rb
slack-ruby-bot-0.10.3 spec/slack-ruby-bot/commands/about_spec.rb
slack-ruby-bot-0.10.2 spec/slack-ruby-bot/commands/about_spec.rb