aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorEdouard CHIN <edouard.chin@shopify.com>2017-06-23 15:24:49 -0400
committerEdouard CHIN <edouard.chin@shopify.com>2017-06-23 15:24:49 -0400
commit65933a4a85f8d377ba5254ed8c83a638655037e1 (patch)
tree89efe7a8ab8f7630ace03c47f0c6b0022dece5c4 /actionpack
parent2477e1b5aa66e8308244af17abf56474d4266536 (diff)
downloadrails-65933a4a85f8d377ba5254ed8c83a638655037e1.tar.gz
rails-65933a4a85f8d377ba5254ed8c83a638655037e1.tar.bz2
rails-65933a4a85f8d377ba5254ed8c83a638655037e1.zip
Removed reference to unexisting methods:
`get/post_via_redirect`, `xhr` and his alias `xml_http_request` were respectively removed in 092033d59f7e2b248f6c6ab6c0b67339c5e9f2df and eb52e5d42fbdc9288925a402dcb3c5664d1125b7
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/testing/integration.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb
index 2416c58817..4973a8f2f2 100644
--- a/actionpack/lib/action_dispatch/testing/integration.rb
+++ b/actionpack/lib/action_dispatch/testing/integration.rb
@@ -338,8 +338,7 @@ module ActionDispatch
@integration_session = nil
end
- %w(get post patch put head delete cookies assigns
- xml_http_request xhr get_via_redirect post_via_redirect).each do |method|
+ %w(get post patch put head delete cookies assigns).each do |method|
define_method(method) do |*args|
# reset the html_document variable, except for cookies/assigns calls
unless method == "cookies" || method == "assigns"