Exception: Factory::AttributeDefinitionError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/factory_girl/attribute.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