require 'spec_helper' describe SlackRubyBot::Commands::Hi do def app SlackMathbot::App.new end it 'says hi' do expect(message: 'mathbot hi').to respond_with_slack_message('Hi <@user>!') end end