class

FactoryBot::DuplicateDefinitionError

Inherits Exception < Reference < Object

Raised when a factory is defined with the same name as a previously-defined factory.