Sha256: 4f481a637193cd5b479100b0fade698ebf56b2e188d38da00e608b6b3ccbf587
Contents?: true
Size: 449 Bytes
Versions: 54
Compression:
Stored size: 449 Bytes
Contents
FactoryGirl.define do factory :expense_gun_expense_line, class: ::Dorsale::ExpenseGun::ExpenseLine do name { Faker::Lorem.sentence(3) } category { FactoryGirl.create(:expense_gun_category) } date { Faker::Date.backward(30) } total_all_taxes { rand(100..1000) } vat { rand(1..(total_all_taxes/5)) } company_part { [25, 50, 75, 100].sample } end end
Version data entries
54 entries across 54 versions & 1 rubygems