# File lib/oauth/oauth_test_helper.rb, line 6
6: def mock_incoming_request_with_query(request)
7: incoming = ActionController::TestRequest.new(request.to_hash)
8: incoming.request_uri = request.path
9: incoming.host = request.uri.host
10: incoming.env["SERVER_PORT"] = request.uri.port
11: incoming.env['REQUEST_METHOD'] = request.http_method
12: incoming
13: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.