mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Set the default log_level to info in all tests
This is a follow-up to116de07
. That change was for two reasons: 1) speed up the tests by reducing the amount of log lines 2) avoid a deprecation warning froma6de6f5
. This setting need to be on the basic app too, otherwise the deprecation warning will show up on other unrelated test cases.
This commit is contained in:
parent
3b8a2a0c6a
commit
6f08eeb6e8
1 changed files with 1 additions and 0 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue