Given I have a named route:
map.some_route /some_routes/:id , :controller => some , :action => other
How do I use the routing spec file spec/routing/some_routing_spec.rb to test for that named route?
I ve tried this after the "describe SomeRouteController" block and it doesn t work, I get undefined method "helper":
describe SomeRouteHelper, some routes named routes do
it should recognize some_route do
helper.some_route_path(23).should == /some_routes/23
end
end