Re: [rspec-users] RSpec, RESTful nested routes and :path_prefix

2007-11-04 Thread Nola Stowe
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

Re: [rspec-users] RSpec, RESTful nested routes and :path_prefix

2007-11-02 Thread Nola Stowe
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

Re: [rspec-users] RSpec, RESTful nested routes and :path_prefix

2007-11-02 Thread Nola Stowe
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

Re: [rspec-users] failing test with nested controller routes

2007-10-28 Thread Nola Stowe
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 > > &

[rspec-users] failing test with nested controller routes

2007-10-27 Thread Nola Stowe
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