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
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