aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2015-10-22 13:25:23 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2015-10-22 13:25:23 +0200
commit3eda77f0eeeb479355b8845aa71cb0da1acd583d (patch)
tree12869d4df22d8703b8f2ee6194912b4519f1f68f /actionpack/test
parentf66b68173a11d0ef8f4bb6253386c15d031017ba (diff)
parentad1f056016904d21079ee70387b475e757254a63 (diff)
downloadrails-3eda77f0eeeb479355b8845aa71cb0da1acd583d.tar.gz
rails-3eda77f0eeeb479355b8845aa71cb0da1acd583d.tar.bz2
rails-3eda77f0eeeb479355b8845aa71cb0da1acd583d.zip
Merge pull request #22028 from yui-knk/suppress_deprecated_warning_test
Suppress warnings (warnings about AD::IntegrationTest HTTP request)
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