Sha256: b0c1f05748d21ff3464e8d5e9e3464fba5f8843571bfe6225959ec0823e128b0

Contents?: true

Size: 144 Bytes

Versions: 7

Compression:

Stored size: 144 Bytes

Contents

FactoryBot.define do
  factory :taxon, class: Spree::Taxon do
    sequence(:name) { |n| "taxon_#{n}" }
    taxonomy
    parent_id nil
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree_core-3.4.6 lib/spree/testing_support/factories/taxon_factory.rb
spree_core-3.3.6 lib/spree/testing_support/factories/taxon_factory.rb
spree_core-3.4.5 lib/spree/testing_support/factories/taxon_factory.rb
spree_core-3.3.5 lib/spree/testing_support/factories/taxon_factory.rb
spree_core-3.4.4 lib/spree/testing_support/factories/taxon_factory.rb
spree_core-3.4.3 lib/spree/testing_support/factories/taxon_factory.rb
spree_core-3.4.2 lib/spree/testing_support/factories/taxon_factory.rb