Sha256: abc9e4f48c163bff56ce61f9f066ffb08bea3863967d1c32caf64831c9069592

Contents?: true

Size: 231 Bytes

Versions: 6

Compression:

Stored size: 231 Bytes

Contents

require 'spec_helper'

describe SlackRubyBot::Commands::Hi do
  def app
    SlackRubyBot::App.new
  end
  it 'says hi' do
    expect(message: "#{SlackRubyBot.config.user} hi").to respond_with_slack_message('Hi <@user>!')
  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/hi_spec.rb
slack-ruby-bot-0.4.1 spec/slack-ruby-bot/commands/hi_spec.rb
slack-ruby-bot-0.4.0 spec/slack-ruby-bot/commands/hi_spec.rb
slack-ruby-bot-0.3.1 spec/slack-ruby-bot/commands/hi_spec.rb
slack-ruby-bot-0.3.0 spec/slack-ruby-bot/commands/hi_spec.rb
slack-ruby-bot-0.2.0 spec/slack-ruby-bot/commands/hi_spec.rb