07 Jul '12, 10am

[RailsCasts][factorygirl] / “Railscasts - Factories not 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.

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

Tweets

@PhilippBayer btw. have you seen:

railscasts.com 08 Jul '12, 1am

# setup vagrant gem install vagrant vagrant box add lucid32 http://files.vagrantup.com/lucid32.box rails new todo cd todo ...