aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/metal/renderers_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/metal/renderers_test.rb')
-rw-r--r--actionpack/test/controller/metal/renderers_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/metal/renderers_test.rb b/actionpack/test/controller/metal/renderers_test.rb
index 5f0d125128..f6558f1354 100644
--- a/actionpack/test/controller/metal/renderers_test.rb
+++ b/actionpack/test/controller/metal/renderers_test.rb
@@ -38,13 +38,13 @@ class RenderersMetalTest < ActionController::TestCase
get :one
assert_response :success
assert_equal({ a: "b" }.to_json, @response.body)
- assert_equal "application/json", @response.content_type
+ assert_equal "application/json", @response.media_type
end
def test_render_xml
get :two
assert_response :success
assert_equal(" ", @response.body)
- assert_equal "text/plain", @response.content_type
+ assert_equal "text/plain", @response.media_type
end
end