aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/new_base/abstract_unit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/new_base/abstract_unit.rb')
-rw-r--r--actionpack/test/new_base/abstract_unit.rb8
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