aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/test/controller/integration_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/integration_test.rb b/actionpack/test/controller/integration_test.rb
index f0d92eb427..a87059bee4 100644
--- a/actionpack/test/controller/integration_test.rb
+++ b/actionpack/test/controller/integration_test.rb
@@ -422,7 +422,7 @@ class IntegrationProcessTest < ActionDispatch::IntegrationTest
def test_get_xml
with_test_route_set do
- get "/get", {}, {"HTTP_ACCEPT" => "application/xml"}
+ get "/get", params: {}, headers: {"HTTP_ACCEPT" => "application/xml"}
assert_equal 200, status
assert_equal "OK", status_message
assert_response 200