diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 33cc9726..56c0f3a7 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -20,6 +20,8 @@ db_config = Configuration.new +require "active_record/connection_adapters/#{db_config['original_adapter']}_adapter" + # Disables/enables the queries log you see in your rails server in dev mode fd = ENV['VERBOSE'] ? STDOUT : '/dev/null' ActiveRecord::Base.logger = Logger.new(fd)