Sha256: 589bde0ebbac76457145c752f6c799995bf44712cf4cbe30ffc0d4eb93430f25

Contents?: true

Size: 186 Bytes

Versions: 76

Compression:

Stored size: 186 Bytes

Contents

FactoryBot.define do
  factory :tax_rate, class: Spree::TaxRate do
    zone
    tax_category
    amount { 0.1 }

    association(:calculator, factory: :default_tax_calculator)
  end
end

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
spree_core-4.0.9 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.1.15 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.2.7 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.3.3 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.2.6 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.3.2 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.3.1 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.3.0 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.3.0.rc3 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.3.0.rc2 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.3.0.rc1 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.2.5 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.1.14 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.0.8 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.2.4 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-3.7.14.1 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.2.3.1 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.1.13.1 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.0.7.1 lib/spree/testing_support/factories/tax_rate_factory.rb
spree_core-4.2.3 lib/spree/testing_support/factories/tax_rate_factory.rb