Open parndt opened 1 year ago
Traits can currently be specified as the second argument when calling association:
association
Factory.define :category do |category| category.association :image, :fancy end
This change will add support for specifying traits: as an option:
traits:
Factory.define :category do |category| category.association :image, traits: [:fancy] end
Traits can currently be specified as the second argument when calling
association
:This change will add support for specifying
traits:
as an option: