RailsCasts
Ryan Bates
Add to My Podcasts
Episodes
About
Reviews
Promote
#158 Factories not Fixtures
12 minutes
Posted Apr 20, 2009 at 7:00 am.
0:00
12:36
Add to My Queue
Download
MP3
Share
episode
Share at current time
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.
Watch Video
Previous
#157 RSpec Matchers & Macros
Next
#159 More on Cucumber
← See all 346 episodes of RailsCasts