Sha256: c1018958cd0c9a97b07c3013a5dbef7ba6fe68b9a42a777b1d99b260d0975164

Contents?: true

Size: 271 Bytes

Versions: 8

Compression:

Stored size: 271 Bytes

Contents

FactoryBot.define do
  factory :expense_gun_category, class: ::Dorsale::ExpenseGun::Category do
    name           { Faker::Lorem.word               }
    code           { Faker::Number.number(digits: 4) }
    vat_deductible { [true, false].sample            }
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dorsale-4.0.0 spec/factories/expense_gun_categories.rb
dorsale-3.20.0 spec/factories/expense_gun_categories.rb
dorsale-3.19.1 spec/factories/expense_gun_categories.rb
dorsale-3.19.0 spec/factories/expense_gun_categories.rb
dorsale-3.18.0 spec/factories/expense_gun_categories.rb
dorsale-3.17.0 spec/factories/expense_gun_categories.rb
dorsale-3.16.0 spec/factories/expense_gun_categories.rb
dorsale-3.15.0 spec/factories/expense_gun_categories.rb