Re: [rspec-users] route_to to test root route

2010-09-29 Thread David Chelimsky
On Sep 29, 2010, at 12:44 AM, Amiruddin Nagri wrote: > I am working on a Rails 3 application using RSPec 2.beta.20. > > I am having the following routes in my routes.rb > > routes.rb > > resources :projects > root :to => 'projects#index' > > I am trying to test both the routes. B

Re: [rspec-users] Possible improvements to routing spec API

2010-09-29 Thread David Chelimsky
On Aug 17, 2010, at 12:46 PM, Michael Kintzer wrote: > On Jul 7, 11:25 pm, Wincent Colaiuta wrote: >> >> So, when I see this kind of thing, I think _what_ are we trying to achieve >> in ourroutingspecs and _why_? At least for me, the answers are: >> >> 1. Confirm: To confirm that the routes