Skip to content
Browse files

Attempting to fix Travis build by removing custom logging setup

  • Loading branch information...
1 parent 39d65e1 commit ad57781d84f102b7c2c063f80dc5fd93b803f2ca Stefan Kroes committed Dec 12, 2013
Showing with 0 additions and 5 deletions.
  1. +0 −5 test/environment.rb
View
5 test/environment.rb
@@ -2,7 +2,6 @@
require 'bundler/setup'
require 'active_record'
require 'active_support/test_case'
-require 'active_support/buffered_logger'
require 'test/unit'
require 'debugger'
@@ -14,10 +13,6 @@ def self.setup
# Silence I18n
I18n.enforce_available_locales = false if I18n.respond_to? :enforce_available_locales=
- # Setup logger
- logger = ActiveSupport.const_defined?(:Logger) ? :Logger : :BufferedLogger
- ActiveRecord::Base.logger = ActiveSupport.const_get(logger).new('log/test.log')
-
# Assume Travis CI database config if no custom one exists
filename = if File.exists?(File.expand_path('../database.yml', __FILE__))
File.expand_path('../database.yml', __FILE__)

0 comments on commit ad57781

Please sign in to comment.
Something went wrong with that request. Please try again.