diff options
author | yui-knk <spiketeika@gmail.com> | 2015-10-22 20:21:25 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2015-10-22 20:21:25 +0900 |
commit | ad1f056016904d21079ee70387b475e757254a63 (patch) | |
tree | 12869d4df22d8703b8f2ee6194912b4519f1f68f /actionpack/test | |
parent | f66b68173a11d0ef8f4bb6253386c15d031017ba (diff) | |
download | rails-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.rb | 2 |
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 |