News for hackers. Stuff that matters.
Re:Rails Testing with Factory Girl by rob-anderson on Wednesday August 22, 2012 @12:49PM (#4418272)
Factory Girl has saved me countless hours - I love it.

You can use build instead of create to avoid the db, as per previous comments. You don't have to use it at all if writing a simple unit test.

But for teeing up complex scenarios prior to a fat integration test, it rocks.

There are no comments on this comment yet.