diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-11-25 01:59:34 -0800 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-11-25 03:05:42 -0800 |
commit | 6f08eeb6e8fe1082d5a427c0399c75ef8fcf380c (patch) | |
tree | 71f6857b223fd1aa619d3f0ef5aaa9d842100355 /railties/test | |
parent | 3b8a2a0c6a54835bc9834b023413aec9154aa73a (diff) | |
download | rails-6f08eeb6e8fe1082d5a427c0399c75ef8fcf380c.tar.gz rails-6f08eeb6e8fe1082d5a427c0399c75ef8fcf380c.tar.bz2 rails-6f08eeb6e8fe1082d5a427c0399c75ef8fcf380c.zip |
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.
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/isolation/abstract_unit.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ module TestHelpers 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! |