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

require 'spec_helper'
describe SlackRubyBot::Commands::Base do
let! :command do
Class.new(SlackRubyBot::Commands::Base) do
command 'not_implemented'
end
end
def app
SlackRubyBot::App.new
end
it 'raises not implemented' do
expect(message: "#{SlackRubyBot.config.user} not_implemented").to respond_with_error(NotImplementedError, 'rubybot not_implemented')
end
end