Sha256: 5ad29e3058cf1d49c7314a4ccc5ac8c9a3e12c9cf04b5a339dd1dbe2f61308c4

Contents?: true

Size: 229 Bytes

Versions: 44

Compression:

Stored size: 229 Bytes

Contents

# frozen_string_literal: true

require 'spree/testing_support/factories/taxonomy_factory'

FactoryBot.define do
  factory :taxon, class: 'Spree::Taxon' do
    name { 'Ruby on Rails' }
    taxonomy
    parent_id { nil }
  end
end

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
solidus_core-2.10.5 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.10.3 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.10.2 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.9.6 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.8.6 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.10.1 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.9.5 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.10.0 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.9.4 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.6.6 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.7.4 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.8.5 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.9.3 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.9.2 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.10.0.beta1 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.7.3 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.6.5 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.9.1 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.9.0 lib/spree/testing_support/factories/taxon_factory.rb
solidus_core-2.9.0.rc.1 lib/spree/testing_support/factories/taxon_factory.rb