I am working on a rails project that has cucumber tests built in. I want to define cucumber factories that are separate to spec/factories. Some cucumber factories will have the same name as the spec/factories. So As soon as I define factories with the same name, it give mea FactoryGirl::DuplicateDefinitionError.
Anyway, I can tell FactoryGirl to not load from the default path when running cucumber?
I tried FactoryGirl.definition_file_paths = %w(support/factories) but it still gives the same error? Any way to resolve this?
--Individuals over processes. Interactions over tools. Agile Rails training from thoughtbot, the makers of Clearance, Shoulda, & Factory Girl:You received this message because you are subscribed to the "factory_girl" mailing list.To post to this group, send email to factor...@googlegroups.comTo unsubscribe from this group, send email toFor more options, visit this group at