[rspec-users] Troubles with route_for

Nick Hoffman lists at ruby-forum.com
Sun Jan 10 23:58:24 EST 2010


Hey guys. I'm having some trouble with a route spec. In routes.rb , I
have:
    map.connect 'foods/search/:name', :controller => :foods, :action =>
:search

foods_controller_spec.rb has: http://codepad.org/dg3FERKw
Unfortunately, that fails: http://codepad.org/lck4r1S0

After reading the rspec-rails 1.2.0 upgrade notes (http://tr.im/K1zx), I
haven't been able to figure out what I'm doing wrong. Any hints?

Thanks!
Nick

PS: I'm using 1.2.9 and Rails 2.3.4 .
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list