This method is deprecated or moved on the latest stable version.
The last existing version (v5.0.0.1) is shown here.
delete_via_redirect(path, *args)
public
Performs a DELETE request, following any subsequent redirect. See request_via_redirect
for more information.
# File actionpack/lib/action_dispatch/testing/integration.rb, line 162
def delete_via_redirect(path, *args)
ActiveSupport::Deprecation.warn('`delete_via_redirect` is deprecated and will be removed in Rails 5.1. Please use `follow_redirect!` manually after the request call for the same behavior.')
request_via_redirect(:delete, path, *args)
end