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

Pat Maddox pergesu at gmail.com
Thu Dec 4 17:54:26 EST 2008

Nick Hoffman <nick at deadorange.com> writes:

> 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
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

Check out my attempt: http://gist.github.com/32130  I don't know which
one is correct.


More information about the rspec-users mailing list