aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/params_wrapper_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/params_wrapper_test.rb')
-rw-r--r--actionpack/test/controller/params_wrapper_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/params_wrapper_test.rb b/actionpack/test/controller/params_wrapper_test.rb
index e0dffc4be4..46a2ab8ccf 100644
--- a/actionpack/test/controller/params_wrapper_test.rb
+++ b/actionpack/test/controller/params_wrapper_test.rb
@@ -215,11 +215,11 @@ class ParamsWrapperTest < ActionController::TestCase
def test_handles_empty_content_type
with_default_wrapper_options do
- @request.env["CONTENT_TYPE"] = ''
+ @request.env["CONTENT_TYPE"] = nil
_controller_class.dispatch(:parse, @request, @response)
assert_equal 200, @response.status
- assert_equal '', @response.body
+ assert_equal "", @response.body
end
end
end