class FactoryBot::AssociationDefinitionError

Raised when a factory is defined that attempts to instantiate itself.

Raised when attempting to pass a block to an association definition