https://upload.wikimedia.org/wikipedia/commons/0/0e/Rhodes-mfg-co.jpg

Factory Girl without Active Record

By Steve Richert

Factory Girl has been around for more than five years now and has become the standard for building and saving valid model data for your test suite. Out of the box, Factory Girl plays nicely with the major ORMs: Active Record, Mongoid, DataMapper and MongoMapper. But what about those pesky models that fall outside of your ORM? Fear not… Factory Girl’s got you covered there too!