Fixtures are external dependencies which can make tests brittle and difficult to read. In this episode I show how to use Factory Girl to generate the needed records directly in the tests.
This is a revised episode, see the original episode.
Subscribe to RailsCasts Pro to access this episode and other pro and revised episodes. Only $9 per month.