diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-12-16 16:04:07 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-12-17 09:05:41 -0200 |
commit | 6802196a6b7db928f9dc70fe5a4f3b61a3ea33ce (patch) | |
tree | 23ce7d9e431807174591f9c74fd7cda8aa32460f /actionpack | |
parent | c445c6d1b99c987b7f98943db46f705a3acc400f (diff) | |
download | rails-6802196a6b7db928f9dc70fe5a4f3b61a3ea33ce.tar.gz rails-6802196a6b7db928f9dc70fe5a4f3b61a3ea33ce.tar.bz2 rails-6802196a6b7db928f9dc70fe5a4f3b61a3ea33ce.zip |
Disable available locales checks to avoid warnings running the tests
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/abstract_unit.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb index 0e163a93eb..87db9a3de4 100644 --- a/actionpack/test/abstract_unit.rb +++ b/actionpack/test/abstract_unit.rb @@ -43,6 +43,9 @@ Thread.abort_on_exception = true # Show backtraces for deprecated behavior for quicker cleanup. ActiveSupport::Deprecation.debug = true +# Disable available locale checks to avoid warnings running the test suite. +I18n.enforce_available_locales = false + # Register danish language for testing I18n.backend.store_translations 'da', {} I18n.backend.store_translations 'pt-BR', {} |