A Slack Bot that pulls Pixiv information and posts the full image(s) into Slack, with iOS shortcuts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
375 B

  1. require 'spec_helper'
  2. describe SlackMathbot::Commands::Default do
  3. def app
  4. SlackMathbot::App.new
  5. end
  6. before do
  7. app.config.user = 'mathbot'
  8. end
  9. it 'mathbot' do
  10. expect(message: 'mathbot').to respond_with_slack_message(SlackMathbot::ABOUT)
  11. end
  12. it 'Mathbot' do
  13. expect(message: 'Mathbot').to respond_with_slack_message(SlackMathbot::ABOUT)
  14. end
  15. end