[rspec-users] Troubles with route_for
Nick Hoffman
lists at ruby-forum.com
Tue Jan 12 00:22:01 EST 2010
David Chelimsky wrote:
> I'd recommend using the route_to matcher that was added in 1.2.9
> instead.
>
> http://codepad.org/fLcxyA9N
> http://rspec.rubyforge.org/rspec-rails/1.2.9/classes/Spec/Rails/Matchers.html#M000029
>
> It's more reliable, and aligns better with the rspec matchers API.
>
> Cheers,
> David
Thanks for that, David. I updated my spec (http://codepad.org/F828X7Fg).
For some reason though, it's still failing: http://codepad.org/s65Ckubc
Just in case, this is what I have in routes.rb:
http://codepad.org/rJfIhbM6
There must be some tiny detail that I'm missing here...
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list