Method: FactoryBot::Syntax::Methods#create_list

Defined in:
lib/factory_bot/syntax/methods.rb

#create_list(name, amount, *traits_and_overrides, &block) ⇒ Array

(see #strategy_method_list)

Returns:

  • (Array)

    array of created objects defined by the factory



# File 'lib/factory_bot/syntax/methods.rb', line 58