Re: [rspec-users] routing error for a name-spaced nested controller

2011-02-08 Thread Phillip Koebbe
On 2011-02-05 3:29 PM, slavix wrote: Struggling with nested routing and rspec... When I run spec/controllers/admin/website_users_controller_spec.rb describe Admin::WebsiteUsersController do ... get :index, :website => @website at this line I get: ActionController::RoutingError Exception: No

Re: [rspec-users] routing error for a name-spaced nested controller

2011-02-07 Thread Mike Mazur
Hi, On Sun, Feb 6, 2011 at 05:29, slavix wrote: > Struggling with nested routing and rspec... > When I run spec/controllers/admin/website_users_controller_spec.rb > > describe Admin::WebsiteUsersController do > ... > get :index, :website => @website Does that need to be: get :index, :website

[rspec-users] routing error for a name-spaced nested controller

2011-02-07 Thread slavix
Struggling with nested routing and rspec... When I run spec/controllers/admin/website_users_controller_spec.rb describe Admin::WebsiteUsersController do ... get :index, :website => @website at this line I get: ActionController::RoutingError Exception: No route matches {:website=>#, :controller=>"