From 6f08eeb6e8fe1082d5a427c0399c75ef8fcf380c Mon Sep 17 00:00:00 2001 From: Godfrey Chan Date: Tue, 25 Nov 2014 01:59:34 -0800 Subject: [PATCH] Set the default log_level to info in all tests This is a follow-up to 116de07. That change was for two reasons: 1) speed up the tests by reducing the amount of log lines 2) avoid a deprecation warning from a6de6f5. This setting need to be on the basic app too, otherwise the deprecation warning will show up on other unrelated test cases. --- railties/test/isolation/abstract_unit.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/railties/test/isolation/abstract_unit.rb b/railties/test/isolation/abstract_unit.rb index c3d4de0ba3..cbd06a76f6 100644 --- a/railties/test/isolation/abstract_unit.rb +++ b/railties/test/isolation/abstract_unit.rb @@ -163,6 +163,7 @@ def make_basic_app app.secrets.secret_key_base = "3b7cd727ee24e8444053437c36cc66c4" app.config.session_store :cookie_store, key: "_myapp_session" app.config.active_support.deprecation = :log + app.config.log_level = :info yield app if block_given? app.initialize! -- GitLab