From 920fe1932303169b0f468dce781c1b65ecbb9deb Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Thu, 20 Oct 2016 23:58:04 +0300 Subject: [PATCH] Disable file log in test env #206 --- config/environments/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/test.rb b/config/environments/test.rb index ee9b72aa0..77819dfb4 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -63,7 +63,7 @@ Rails.application.configure do Bullet.add_whitelist type: :counter_cache, class_name: 'Contact', association: :versions end - # config.logger = Logger.new(STDOUT) + config.logger = ActiveSupport::Logger.new(nil) end # In this mode, any jobs you queue will be run in the same thread, synchronously