Sha256: cf130c8da894ec92c011be59c4c1a6983d2a9c1434d8276ee6af80aec0f297ba
Contents?: true
Size: 321 Bytes
Versions: 15
Compression:
Stored size: 321 Bytes
Contents
Factory.sequence(:tax_category_sequence) {|n| "TaxCategory ##{n}"} Factory.define(:tax_category) do |record| record.name { "TaxCategory - #{rand(999999)}" } record.description { Faker::Lorem.sentence } record.tax_rates {[TaxRate.new(:amount => 0.05, :calculator => Calculator::Vat.new, :zone => Zone.global)]} end
Version data entries
15 entries across 15 versions & 2 rubygems