require 'adhearsion' require 'adhearsion_sequel' RSpec.configure do |config| config.color_enabled = true config.tty = true config.mock_with :mocha config.filter_run :focus => true config.run_all_when_everything_filtered = true config.before(:each) do Adhearsion.config[:adhearsion_sequel].adapter = "mysql" Adhearsion.config[:adhearsion_sequel].database = "test" Adhearsion.config[:adhearsion_sequel].username = "root" Adhearsion.config[:adhearsion_sequel].password = "" Adhearsion.config[:adhearsion_sequel].host = "localhost" Adhearsion.config[:adhearsion_sequel].port = 3306 end end