diff --git a/actionpack/test/controller/render_xml_test.rb b/actionpack/test/controller/render_xml_test.rb
index 7d61076e7cfd6..44955483c7a6c 100644
--- a/actionpack/test/controller/render_xml_test.rb
+++ b/actionpack/test/controller/render_xml_test.rb
@@ -35,7 +35,7 @@ def render_with_to_xml
def formatted_xml_erb
end
- def render_xml_with_custom_content_type
+ def render_xml_with_custom_media_type
render xml: "", content_type: "application/atomsvc+xml"
end
@@ -90,12 +90,12 @@ def test_should_render_formatted_xml_erb_template
assert_equal "passed formatted xml erb", @response.body
end
- def test_should_render_xml_but_keep_custom_content_type
- get :render_xml_with_custom_content_type
+ def test_should_render_xml_but_keep_custom_media_type
+ get :render_xml_with_custom_media_type
assert_equal "application/atomsvc+xml", @response.media_type
end
- def test_should_use_implicit_content_type
+ def test_should_use_implicit_media_type
get :implicit_content_type, format: "atom"
assert_equal Mime[:atom], @response.media_type
end