diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-22 17:22:30 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-22 17:22:37 -0700 |
commit | fb64263c9181f247207919f1187934e29c4fe83c (patch) | |
tree | 49a985a8282388480e7cae092d2f1203bc2e332a /actionpack/test/new_base | |
parent | 595107f22e6a26e20860d0023478437a51daa5c6 (diff) | |
download | rails-fb64263c9181f247207919f1187934e29c4fe83c.tar.gz rails-fb64263c9181f247207919f1187934e29c4fe83c.tar.bz2 rails-fb64263c9181f247207919f1187934e29c4fe83c.zip |
Restore some missing test constants
Diffstat (limited to 'actionpack/test/new_base')
-rw-r--r-- | actionpack/test/new_base/abstract_unit.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/actionpack/test/new_base/abstract_unit.rb b/actionpack/test/new_base/abstract_unit.rb index 5df2576916..e6690d41d9 100644 --- a/actionpack/test/new_base/abstract_unit.rb +++ b/actionpack/test/new_base/abstract_unit.rb @@ -35,6 +35,14 @@ end ActiveSupport::Dependencies.hook! +# Show backtraces for deprecated behavior for quicker cleanup. +ActiveSupport::Deprecation.debug = true + +# Register danish language for testing +I18n.backend.store_translations 'da', {} +I18n.backend.store_translations 'pt-BR', {} +ORIGINAL_LOCALES = I18n.available_locales.map {|locale| locale.to_s }.sort + FIXTURE_LOAD_PATH = File.join(File.dirname(__FILE__), '../fixtures') module ActionController |