Ya i was just looking at it. It only creates an empty User object with nil for all fields. I changed it to use the factory, and I updated the :password => "password" to :password => user.password.