diff options
author | Ben Harris <ben@tilde.team> | 2021-08-23 16:29:19 -0400 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2021-08-23 16:29:19 -0400 |
commit | 229d79fce9a092bd2e71559603fba67000b18254 (patch) | |
tree | c960aa3d7ff077eca7af027df61385e88c8454c9 /config/environments/test.rb | |
parent | 0d1be8d46ae036ad1588f6c2e590eb1ba3993eb2 (diff) |
update to rails 3.0.2
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r-- | config/environments/test.rb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb index 0cb2424..93ed4f1 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -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 @@ -44,6 +46,15 @@ Rails.application.configure do # 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 |