[rspec-users] route_for and nested resources

Jonathan Linowes jonathan at parkerhill.com
Sun Jan 27 20:47:15 EST 2008


Note, named routes cannot be accessed unless you have a response (eg  
after you've run a controller action)
See http://rspec.lighthouseapp.com/projects/5645/tickets/201-enable- 
named-urls-before-response


On Jan 27, 2008, at 8:26 PM, Matt Darby wrote:

> On Jan 27, 2008, at 8:05 PM, David Chelimsky wrote:
>
>> On Nov 21, 2007 3:10 PM, Chris Olsen <lists at ruby-forum.com> wrote:
>>> Or do you just use:
>>> new_user_task(1,1).should == "/users/1/task/new"
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20080127/9d049a9f/attachment.html 


More information about the rspec-users mailing list