Skip to content
gabebw edited this page Jul 28, 2011 · 17 revisions

Rails 3 Installation:

See the factory_girl_rails repo https://github.com/thoughtbot/factory_girl_rails/blob/master/README.md.

Rails 2 Installation:

Installation is a snap (for Rails, you’ll want to add this in config/environments/test.rb):

config.gem "factory_girl"

Then:

rake gems:install RAILS_ENV=test
rake gems:unpack RAILS_ENV=test