Mercurial > rsstweet
diff config/environments/test.rb @ 214:2335107f35d0
Run rails update
author | nanaya <me@nanaya.pro> |
---|---|
date | Fri, 11 Dec 2020 03:47:39 +0900 |
parents | f67f3ad50270 |
children | ad6264cca788 |
line wrap: on
line diff
--- a/config/environments/test.rb Fri Dec 11 03:41:31 2020 +0900 +++ b/config/environments/test.rb Fri Dec 11 03:47:39 2020 +0900 @@ -1,3 +1,5 @@ +require "active_support/core_ext/integer/time" + # The test environment is used exclusively to run your application's # test suite. You never need to work with it otherwise. Remember that # your test database is "scratch space" for the test suite and is wiped @@ -33,6 +35,15 @@ # Print deprecation notices to the stderr. config.active_support.deprecation = :stderr + # Raise exceptions for disallowed deprecations. + config.active_support.disallowed_deprecation = :raise + + # Tell Active Support which deprecation messages to disallow. + config.active_support.disallowed_deprecation_warnings = [] + # Raises error for missing translations. - # config.action_view.raise_on_missing_translations = true + # config.i18n.raise_on_missing_translations = true + + # Annotate rendered view with file names. + # config.action_view.annotate_rendered_view_with_filenames = true end