Method: FactoryBot::Syntax::Methods#attributes_for
- Defined in:
- lib/factory_bot/syntax/methods.rb
#attributes_for(name, *traits_and_overrides, &block) ⇒ Hash
(see #strategy_method) Generates a hash of attributes for a registered factory by name.
|
# File 'lib/factory_bot/syntax/methods.rb', line 49
|