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

[rspec-users] route_to to test root route

2010-09-28 Thread Amiruddin Nagri
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. But while testing root route I am getting a failure : it 'should route root