Is there a difference between Factory(:some_factory) and FactoryGirl.create(:some_factory) ?
Factory(:some_factory)
FactoryGirl.create(:some_factory)
Factory(:some_factory) called ActiveRecord::AssociationTypeMismatch in one controller specification, FactoryGirl.create(:some_factory) not called it
ActiveRecord::AssociationTypeMismatch
Factory(:some_factory) and were Factory.create(:some_factory) used in older versions of FactoryGirl, but are deprecated in favor of the current syntax FactoryGirl.create(:some_factory) .
Factory.create(:some_factory)