ryanb / nifty-generators

A collection of useful Rails generator scripts.
MIT License
1.98k stars 283 forks source link

generate factory instead of fixtures when using --shoulda option #20

Open millisami opened 15 years ago

millisami commented 15 years ago

Well, I would like to have a feature to generate factory for the model to be generated instead of fixtures when using --shoulda option. Has this been done in any forks of this nifty-generator? If yes, link might be helpful for me.

iceburging commented 14 years ago

I have implemented a solution in a fork that makes use of factory_girl, use the --shoulda and --factory_girl options. See: http://github.com/iceburging/nifty-generators