Disable logging in tests for speed benefits?
This commit is contained in:
parent
74af34ccf7
commit
dd7754117b
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@ Rails.application.configure do
|
||||||
# While tests run files are not watched, reloading is not necessary.
|
# While tests run files are not watched, reloading is not necessary.
|
||||||
config.enable_reloading = false
|
config.enable_reloading = false
|
||||||
|
|
||||||
|
# disable logging in tests, for speed increases. Set to :info to bring back logging
|
||||||
|
config.log_level = :warn
|
||||||
|
|
||||||
# Eager loading loads your entire application. When running a single test locally,
|
# Eager loading loads your entire application. When running a single test locally,
|
||||||
# this is usually not necessary, and can slow down your test suite. However, it's
|
# this is usually not necessary, and can slow down your test suite. However, it's
|
||||||
# recommended that you enable it in continuous integration systems to ensure eager
|
# recommended that you enable it in continuous integration systems to ensure eager
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue