RailsCasts
RailsCasts
Ryan Bates
#158 Factories not Fixtures
12 minutes Posted Apr 20, 2009 at 7:00 am.
0:00
12:36
Download MP3
Show notes
Fixtures are external dependencies which can make tests brittle and difficult to read. In this episode I show a better alternative using factories to generate the needed records.