Sha256: 79d8fc3dab6f05b1970193aa2d8b72f075d2151d31ca107170d2313b66a9f8dd
Contents?: true
Size: 383 Bytes
Versions: 11
Compression:
Stored size: 383 Bytes
Contents
FactoryBot.define do factory :supplier, class: "Comee::Core::Supplier" do sequence(:code) { |n| "#{Faker::Alphanumeric.alpha(number: 8)}-#{n}" } name { Faker::Name.name } locale { "en" } payment_terms { Faker::Lorem.word } vat_number { Faker::Alphanumeric.alpha(number: 8) } tax_code { Faker::Alphanumeric.alpha(number: 8) } user currency end end
Version data entries
11 entries across 11 versions & 1 rubygems