Permalink
Browse files

Restore some missing test constants

  • Loading branch information...
jeremy committed May 23, 2009
1 parent 595107f commit fb64263c9181f247207919f1187934e29c4fe83c
Showing with 8 additions and 0 deletions.
  1. +8 −0 actionpack/test/new_base/abstract_unit.rb
@@ -35,6 +35,14 @@
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

0 comments on commit fb64263

Please sign in to comment.