I am having a shared example 'allow authorized actions' for my Rails 3 RSpec
2.beta.20 application. The shared example looks like
share_examples_for 'allow authorized actions' do
...
end
This shared example is in file
spec/controllers/support/authorization_shared_example.rb, which I am
requirin
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