Sha256: ced2d05182a15e2e010e2ce20bd086c60a45aba5cb1c1687c364deb50ef5abb8
Contents?: true
Size: 499 Bytes
Versions: 2
Compression:
Stored size: 499 Bytes
Contents
FactoryBot.define do factory :invoice, class: "Comee::Core::Invoice" do invoice_no { Faker::Alphanumeric.alpha(number: 8) } client_order date_issued { Date.current } ship_name { Faker::Name.name } delivery_date { Date.current.advance(days: -7) } voyage_no { Faker::Alphanumeric.alpha(number: 10) } additional_charges { 0 } total_price { 0 } payment_term { Faker::Lorem.sentence } notifications_sent { 0 } status { 0 } payment_status { 0 } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
comee_core-0.1.11 | spec/factories/comee/core/invoices.rb |
comee_core-0.1.10 | spec/factories/comee/core/invoices.rb |