From ad1f056016904d21079ee70387b475e757254a63 Mon Sep 17 00:00:00 2001 From: yui-knk Date: Thu, 22 Oct 2015 20:21:25 +0900 Subject: Suppress warnings (warnings about AD::IntegrationTest HTTP request) These warings have been appeared from ea9bc06c9a47b839d5e2db94ba6bf7e29c8f0ae9. --- actionpack/test/controller/integration_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') diff --git a/actionpack/test/controller/integration_test.rb b/actionpack/test/controller/integration_test.rb index 99f6f540a8..d0a1d1285f 100644 --- a/actionpack/test/controller/integration_test.rb +++ b/actionpack/test/controller/integration_test.rb @@ -463,7 +463,7 @@ class IntegrationProcessTest < ActionDispatch::IntegrationTest def test_get_xml_rss_atom %w[ application/xml application/rss+xml application/atom+xml ].each do |mime_string| with_test_route_set do - get "/get", {}, {"HTTP_ACCEPT" => mime_string} + get "/get", headers: {"HTTP_ACCEPT" => mime_string} assert_equal 200, status assert_equal "OK", status_message assert_response 200 -- cgit v1.2.3