Change 'factory_girl' gem to 'factory_girl_rails' 

'factory_girl_rails' provides integrations with the 'factories' directories to register each factory.