Tests which rely heavily on fixtures are brittle and can be difficult to maintain. This episode will show a couple techniques for creating tests which don't use fixtures.
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.
RubyTu.be is a community driven collection of Ruby related videos and screencasts. Questions? Comments? Contact RubyTu.be via e-mail or click on the Feedback GetSatisfaction widget found on the other side of the page.