Methods
- D
- G
- P
- R
- S
Instance Public methods
delete(uri_or_host, path = nil)
Link
get(uri_or_host, path = nil)
Link
patch(uri_or_host, path = nil)
Link
post(uri_or_host, path = nil)
Link
put(uri_or_host, path = nil)
Link
request_path_params(path, options = {})
Link
# File actionpack/test/abstract_unit.rb, line 332 def request_path_params(path, options = {}) method = options[:method] || 'GET' resp = send_request URI('http://localhost' + path), method.to_s.upcase, nil status = resp.first if status == 404 raise ActionController::RoutingError, "No route matches #{path.inspect}" end controller.request.path_parameters end
send_request(uri_or_host, method, path)
Link