Sha256: e114fc4393256f3431f0518ecd3074e82166460cbd57231085c34124c8a701ef

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

require 'spec_helper'

describe SlackRubyBot::Commands::Hi do
  def app
    SlackRubyBot::App.new
  end
  before do
    app.config.user = 'rubybot'
  end
  it 'says hi' do
    expect(message: 'rubybot hi').to respond_with_slack_message('Hi <@user>!')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-ruby-bot-0.1.0 spec/slack-ruby-bot/commands/hi_spec.rb