[rspec-users] NameError when passing a URL helper to a method

Nick Hoffman nick at deadorange.com
Thu Dec 4 15:41:00 EST 2008


Hi guys. I just wrote a small spec helper method to DRY up some of my  
specs, and found that passing a URL helper (Eg: #photos_url) to a  
method results in a NameError error. I extracted the problem into its  
own short spec file to isolate it. Any thoughts on what's going on?:
http://gist.github.com/32060

Thanks for your help,
Nick


More information about the rspec-users mailing list