class Rack::MockRequest

def delete(uri, opts = {}) request(DELETE, uri, opts) end

Make a DELETE request and return a MockResponse. See #request.
def delete(uri, opts = {})  request(DELETE, uri, opts)  end