Factory Girl (Not Updated)



Installation Steps

Step 1
Put this in your config/environments/test.rb (it also works in config/environments/cucumber.rb)

config.gem "thoughtbot-factory_girl", 
                     :lib => 'factory_girl',
                     :source => 'http://gems.github.com'

Step 2
Then install it:

sudo rake gems:install
rake gems:unpack GEM=thoughtbot-factory_girl RAILS_ENV=test

And that's it!.

Documentation and Examples

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License