Exception: FactoryBot::AttributeDefinitionError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- FactoryBot::AttributeDefinitionError
- Defined in:
- lib/factory_bot/errors.rb
Overview
Raised when defining an invalid attribute:
-
Defining an attribute which has a name ending in “=”
-
Defining an attribute with both a static and lazy value
-
Defining an attribute twice in the same factory