Keep performance in mind when using FactoryGirl in your test suite
The latest major version of FactoryGirl came out last week, which coincided with an internal debate here on the best use of factories. Often, out of habit, when we’re writing tests, we reach for a Factory when we’re testing a new method. It’s convenient because it gives you some test data to work with, and [...]