diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2017-06-24 14:33:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-24 14:33:58 +0200 |
commit | cb651b3b89de849550c1f4ff412c262a51e29b9e (patch) | |
tree | 7829594508accc454ad2e0d83347f7725d1c3aaf /actionpack | |
parent | 35a25c32da8541994274557e1c8f4a925b536acf (diff) | |
parent | 65933a4a85f8d377ba5254ed8c83a638655037e1 (diff) | |
download | rails-cb651b3b89de849550c1f4ff412c262a51e29b9e.tar.gz rails-cb651b3b89de849550c1f4ff412c262a51e29b9e.tar.bz2 rails-cb651b3b89de849550c1f4ff412c262a51e29b9e.zip |
Merge pull request #29549 from Edouard-chin/integration-testing-deprecated-methods
Removed reference to unexisting methods:
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/integration.rb | 3 |
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" |