I\'m attempting to follow railstutorial.org, and am currently on Chapter 7, where you start using factories: http://railstutorial.org/chapters/modeling-and-viewing-users-two#sec
For me I had to add require 'factory_girl' to test_helper.rb
require 'factory_girl'
test_helper.rb