Sha256: d8e920bfe2e182eb00c28ad183543d855e5c70bd3e1c6e29c6be650c23b21f30

Contents?: true

Size: 266 Bytes

Versions: 32

Compression:

Stored size: 266 Bytes

Contents

require 'spree/testing_support/sequences'

FactoryGirl.define do
  factory :tax_category, class: Spree::TaxCategory do
    name { "TaxCategory - #{rand(999_999)}" }
    tax_code { "TaxCode - #{rand(999_999)}" }
    description { generate(:random_string) }
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
solidus_core-2.3.1 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.2.2 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.1.1 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.0.3 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-1.4.2 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-1.3.2 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.3.0 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.3.0.rc3 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.3.0.rc2 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.3.0.rc1 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.3.0.beta1 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.0.2 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-1.4.1 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.2.1 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.2.0 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.2.0.rc1 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.2.0.beta1 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.1.0 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.1.0.rc1 lib/spree/testing_support/factories/tax_category_factory.rb
solidus_core-2.0.1 lib/spree/testing_support/factories/tax_category_factory.rb