aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorTu Hoang <rebyn@me.com>2014-12-05 12:49:38 +0700
committerTu Hoang <rebyn@me.com>2014-12-05 12:54:15 +0700
commit8ef51f64e51a71353e2dbee20f2a0f466445c805 (patch)
tree1e77afdc209c99214c12e8910838b7d817023279 /actionpack/test/controller
parentbbbe9cfc61bf0ab8f6b672d394fa00bdb9941fc3 (diff)
downloadrails-8ef51f64e51a71353e2dbee20f2a0f466445c805.tar.gz
rails-8ef51f64e51a71353e2dbee20f2a0f466445c805.tar.bz2
rails-8ef51f64e51a71353e2dbee20f2a0f466445c805.zip
Typo: Hello = Guten Tag (in German)
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/localized_templates_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/localized_templates_test.rb b/actionpack/test/controller/localized_templates_test.rb
index 27871ef351..2be947c648 100644
--- a/actionpack/test/controller/localized_templates_test.rb
+++ b/actionpack/test/controller/localized_templates_test.rb
@@ -19,7 +19,7 @@ class LocalizedTemplatesTest < ActionController::TestCase
def test_localized_template_is_used
I18n.locale = :de
get :hello_world
- assert_equal "Gutten Tag", @response.body
+ assert_equal "Guten Tag", @response.body
end
def test_default_locale_template_is_used_when_locale_is_missing
@@ -34,7 +34,7 @@ class LocalizedTemplatesTest < ActionController::TestCase
I18n.fallbacks[:"de-AT"] = [:de]
get :hello_world
- assert_equal "Gutten Tag", @response.body
+ assert_equal "Guten Tag", @response.body
end
def test_localized_template_has_correct_header_with_no_format_in_template_name