Sha256: 09943298b3c7f539bb1753ecc303464432c02d35999cbe4407b2bbea16dfdb6d

Contents?: true

Size: 363 Bytes

Versions: 6

Compression:

Stored size: 363 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
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
slack-ruby-bot-0.4.2 spec/slack-ruby-bot/commands/about_spec.rb
slack-ruby-bot-0.4.1 spec/slack-ruby-bot/commands/about_spec.rb
slack-ruby-bot-0.4.0 spec/slack-ruby-bot/commands/about_spec.rb
slack-ruby-bot-0.3.1 spec/slack-ruby-bot/commands/about_spec.rb
slack-ruby-bot-0.3.0 spec/slack-ruby-bot/commands/about_spec.rb
slack-ruby-bot-0.2.0 spec/slack-ruby-bot/commands/about_spec.rb