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