aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/rescue_test.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2009-02-06 23:23:50 -0600
committerJoshua Peek <josh@joshpeek.com>2009-02-06 23:23:50 -0600
commit24f2e676f700b8a387c6f4c27acf172658cd7863 (patch)
tree5b664014391c3e8a5828e02492cea72d356358bc /actionpack/test/controller/rescue_test.rb
parent43c09383cefbc3b62e9b124792fb0d0278689d2b (diff)
downloadrails-24f2e676f700b8a387c6f4c27acf172658cd7863.tar.gz
rails-24f2e676f700b8a387c6f4c27acf172658cd7863.tar.bz2
rails-24f2e676f700b8a387c6f4c27acf172658cd7863.zip
Added support to dashed locales in templates localization [#1888 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'actionpack/test/controller/rescue_test.rb')
-rw-r--r--actionpack/test/controller/rescue_test.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/actionpack/test/controller/rescue_test.rb b/actionpack/test/controller/rescue_test.rb
index d7c9499157..5709f37e05 100644
--- a/actionpack/test/controller/rescue_test.rb
+++ b/actionpack/test/controller/rescue_test.rb
@@ -198,13 +198,6 @@ class RescueControllerTest < ActionController::TestCase
end
def test_rescue_action_in_public_with_localized_error_file
- # Reload and register danish language for testing
- I18n.reload!
- I18n.backend.store_translations 'da', {}
-
- # Ensure original are still the same since we are reindexing view paths
- assert_equal ORIGINAL_LOCALES, I18n.available_locales.map(&:to_s).sort
-
# Change locale
old_locale = I18n.locale
I18n.locale = :da