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
My solution: I've accidentally included it in the :development block, and simply had to move it to the :test block
:development
:test
(I've listed it here, because it might help someone who doesn't follow the tutorial correctly)