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.

15 lines
398 B

9 years ago
  1. require 'spec_helper'
  2. describe SlackRubyBot::Commands::Base do
  3. let! :command do
  4. Class.new(SlackRubyBot::Commands::Base) do
  5. command 'not_implemented'
  6. end
  7. end
  8. def app
  9. SlackRubyBot::App.new
  10. end
  11. it 'raises not implemented' do
  12. expect(message: "#{SlackRubyBot.config.user} not_implemented").to respond_with_error(NotImplementedError, 'rubybot not_implemented')
  13. end
  14. end