Method: FactoryBot::Syntax::Methods#attributes_for_pair

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

#attributes_for_pair(name, *traits_and_overrides, &block) ⇒ Array<Hash>

(see #strategy_method_pair)

Returns:

  • (Array<Hash>)

    pair of attribute hashes for the factory



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