Displaying 1 result from an estimated 1 matches for "rspec_on_rails_nested_scaffold".
2007 Dec 18
2
rpec_scaffold and nested resources
I''ve got a love-hate relationship with script/generate rspec_scaffold
If you are using non-nested controllers/resources it''s great. I love
the spec skeletons it generates.
But I find myself doing this, where Y is and existing set of
model/controller ... representing a resource:
1) script/generate rspec_scaffold x ....
At this point rake spec passes.
2) edit config/routes.rb