03 Oct '13, 5am

@mizchi Railscastsよいです(有料)

#158 Factories not Fixtures (revised) Oct 27, 2011 | 9 minutes | Testing , Tools 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.

Full article: http://railscasts.com/episodes/158-factories-not-fixtures...