Update factories.rb

Error: not defined factory