@ -1,4 +1,9 @@ | |||||
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..')) | $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..')) | ||||
require 'slack-ruby-bot/rspec' | require 'slack-ruby-bot/rspec' | ||||
Dir[File.join(File.dirname(__FILE__), 'support', '**/*.rb')].each do |file| | |||||
require file | |||||
end | |||||
require 'slack-mathbot' | require 'slack-mathbot' |
@ -0,0 +1,5 @@ | |||||
RSpec.configure do |config| | |||||
config.before do | |||||
SlackRubyBot.config.user = 'mathbot' | |||||
end | |||||
end |