Displaying 2 results from an estimated 2 matches for "versioncontrollertest".
Did you mean:
personcontrollertest
2006 May 18
2
Help with Routes
...ortions via the
params hash. Ex: we can access the :software portion of the url like
this--params[:software]
If any of the above steps do not match, the route is skipped, the keys
are cleared and the process is repeated with the next route.
So now I want to test my route with within the
User::VersionControllerTest class:
[code]
def test_route
url = "/all/eudora/7.0.1/windows/download/5"
opts = {:controller => ''user/version'', latform_filter => "all",
:software => "eudora",
:version => "7.0.1", latform => "windows"...
2006 May 18
6
Routes and Testing Routes
...a
the params hash. Ex: we can access the :software portion of the
url like this--params[:software]
If any of the above steps do not match, the route is skipped, the keys
are cleared and the process is repeated with the next route.
So now I want to test my route with within the
User::VersionControllerTest class:
[code]
def test_route
url = "/all/eudora/7.0.1/windows|download/5"
opts = {:controller => ''user/version'', latform_filter => "all",
:software => "eudora",
:version => "7.0.1", latform => "windows"...