Re: [rspec-users] Rspec with Nested Resources

2012-04-13 Thread Justin Ko
On Apr 12, 2012, at 11:32 AM, Arnaldo Junior wrote: > Hi, I have problems to implement the tests with RSpec with nested > routes in views, as I implement these tests? > Always gives error that it can not find the routes. > > #config/routes.rb > > resources :controller1 do >resources :contro

[rspec-users] Rspec with Nested Resources

2012-04-12 Thread Arnaldo Junior
Hi, I have problems to implement the tests with RSpec with nested routes in views, as I implement these tests? Always gives error that it can not find the routes. #config/routes.rb resources :controller1 do resources :controller2 end My test view #spec/views/controller2/index.html.erb_spec