aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/localized_templates_test.rb
diff options
context:
space:
mode:
authorYuji Yaginuma <yuuji.yaginuma@gmail.com>2019-06-01 16:51:56 +0900
committerGitHub <noreply@github.com>2019-06-01 16:51:56 +0900
commit2a015f6c0be0593a624b0c800e5335319ac4c660 (patch)
tree76458f7e7c743bdee8d979a2af83494c21f636af /actionpack/test/controller/localized_templates_test.rb
parentd3e87efedb8cf9d072584bc8703841a80c07648f (diff)
parentea5f509643d6d9c468a9b26f6c45bd4e40fd67cf (diff)
downloadrails-2a015f6c0be0593a624b0c800e5335319ac4c660.tar.gz
rails-2a015f6c0be0593a624b0c800e5335319ac4c660.tar.bz2
rails-2a015f6c0be0593a624b0c800e5335319ac4c660.zip
Merge pull request #36034 from y-yagi/fixes_35709
Change `ActionDispatch::Response#content_type` returning Content-Type header as it is
Diffstat (limited to 'actionpack/test/controller/localized_templates_test.rb')
-rw-r--r--actionpack/test/controller/localized_templates_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/localized_templates_test.rb b/actionpack/test/controller/localized_templates_test.rb
index d84a76fb46..5c5cef66d5 100644
--- a/actionpack/test/controller/localized_templates_test.rb
+++ b/actionpack/test/controller/localized_templates_test.rb
@@ -43,6 +43,6 @@ class LocalizedTemplatesTest < ActionController::TestCase
I18n.locale = :it
get :hello_world
assert_equal "Ciao Mondo", @response.body
- assert_equal "text/html", @response.content_type
+ assert_equal "text/html", @response.media_type
end
end