Exception: FactoryBot::DuplicateDefinitionError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/factory_bot/errors.rb

Overview

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