Mercurial > rsstweet
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 213:609e96a79ad8 | 214:2335107f35d0 |
|---|---|
| 1 require "active_support/core_ext/integer/time" | |
| 2 | |
| 1 # The test environment is used exclusively to run your application's | 3 # The test environment is used exclusively to run your application's |
| 2 # test suite. You never need to work with it otherwise. Remember that | 4 # test suite. You never need to work with it otherwise. Remember that |
| 3 # your test database is "scratch space" for the test suite and is wiped | 5 # your test database is "scratch space" for the test suite and is wiped |
| 4 # and recreated between test runs. Don't rely on the data there! | 6 # and recreated between test runs. Don't rely on the data there! |
| 5 | 7 |
| 31 config.action_controller.allow_forgery_protection = false | 33 config.action_controller.allow_forgery_protection = false |
| 32 | 34 |
| 33 # Print deprecation notices to the stderr. | 35 # Print deprecation notices to the stderr. |
| 34 config.active_support.deprecation = :stderr | 36 config.active_support.deprecation = :stderr |
| 35 | 37 |
| 38 # Raise exceptions for disallowed deprecations. | |
| 39 config.active_support.disallowed_deprecation = :raise | |
| 40 | |
| 41 # Tell Active Support which deprecation messages to disallow. | |
| 42 config.active_support.disallowed_deprecation_warnings = [] | |
| 43 | |
| 36 # Raises error for missing translations. | 44 # Raises error for missing translations. |
| 37 # config.action_view.raise_on_missing_translations = true | 45 # config.i18n.raise_on_missing_translations = true |
| 46 | |
| 47 # Annotate rendered view with file names. | |
| 48 # config.action_view.annotate_rendered_view_with_filenames = true | |
| 38 end | 49 end |
