Module Merb::Test::RouteHelper
In: lib/merb-core/test/helpers/route_helper.rb

Methods

request_to   url  

Included Modules

RequestHelper

Public Instance methods

Parameters

path<~to_string>:The URL of the request.
method<~to_sym>:HTTP request method.
env<Hash>:Additional parameters for the request.

Returns

Hash:A hash containing the controller and action along with any parameters

Mimics the url method available to controllers.

Parameters

name<~to_sym>:The name of the URL to generate.
params<Hash>:Parameters for the route generation.

Returns

String:The generated URL.

[Validate]