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

Reply via email to