Sha256: bf2ab72f28f7061c235bdb72722ef2a46cc16875b390b81ba1453a90924db0de
Contents?: true
Size: 703 Bytes
Versions: 3
Compression:
Stored size: 703 Bytes
Contents
require 'spec_helper' describe SlackRubyBot::Commands::Help do def app SlackRubyBot::App.new end it 'help' do message = <<MSG *Weather Bot* - This bot tells you the weather. *Commands:* *clouds* - Tells you how many clouds there're above you. *command_without_description* *What's the weather in <city>?* - Tells you the weather in a <city>. *Other commands:* *help* - Shows help information. *hi* - Says hello. *hello* - Says hello. For getting description of the command use: *help <command>* For more information see https://github.com/slack-ruby/slack-ruby-bot, please. MSG expect(message: "#{SlackRubyBot.config.user} help").to respond_with_slack_message(message) end end
Version data entries
3 entries across 3 versions & 1 rubygems