aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-10-22 20:21:25 +0900
committeryui-knk <spiketeika@gmail.com>2015-10-22 20:21:25 +0900
commitad1f056016904d21079ee70387b475e757254a63 (patch)
tree12869d4df22d8703b8f2ee6194912b4519f1f68f /actionpack/test
parentf66b68173a11d0ef8f4bb6253386c15d031017ba (diff)
downloadrails-ad1f056016904d21079ee70387b475e757254a63.tar.gz
rails-ad1f056016904d21079ee70387b475e757254a63.tar.bz2
rails-ad1f056016904d21079ee70387b475e757254a63.zip
Suppress warnings (warnings about AD::IntegrationTest HTTP request)
These warings have been appeared from ea9bc06c9a47b839d5e2db94ba6bf7e29c8f0ae9.
Diffstat (limited to 'actionpack/test')
-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 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