t? Does RSpec not support nested routes with :path_prefix?
>
> Harm
>
> > --
> >
> > Message: 11
> > Date: Fri, 2 Nov 2007 19:56:22 -0400
> > From: "Nola Stowe" <[EMAIL PROTECTED]>
> > Subject: Re: [rspec-users] R
I had a problem when I used:
script/generate rspec_scaffold "admin/users"
it created the specs with the controller name is "admin_user" instead
of "admin/user" which I think should be correct. So I had to go
through all the rspec generated files and change the _ to /
did you use rspec_scaffoldi
I had a problem when I used:
script/generate rspec_scaffold "admin/users"
it created the specs with the controller name is "admin_user" instead
of "admin/user" which I think should be correct. So I had to go
through all the rspec generated files and change the _ to /
I actually would like to in
you running edge rails?
> It's worthwhile if you're set on restful stuff.
> I don't think the name_prefix and path_prefix stuff is really necessary.
>
> My nested routes read more like
> map.resources :groups
> groups.resources :admins
> end
>
> &
I have googled and browsed through spec-users archives, but didn't
find anything different.
I used rspec scaffold command to generate a mvc for groups, I used
nested controller so I could have a separate interface for admin.
the specs are the same as generated, so I won't post the whole thing.
I