Using FactoryGirl in Plain Ruby

Great guide on how to implement factories into tests outside of using an ORM such as ActiveRecord: