Sha256: 3e87b749c73542bffd098eb6cd6f12ae9096c6efa64c95b6a33d59a44082bd74

Contents?: true

Size: 394 Bytes

Versions: 169

Compression:

Stored size: 394 Bytes

Contents

FactoryBot.define do
  factory :quotation_request, class: "Comee::Core::QuotationRequest" do
    reference_no { "RFQ-#{client.code}-#{DateTime.now.to_i}" }
    order_number { Faker::Alphanumeric.alpha(number: 10) }
    order_date { Date.current }
    delivery_address { Faker::Address.street_address }
    invoice_address { Faker::Address.street_address }
    client
    status { 0 }
  end
end

Version data entries

169 entries across 169 versions & 1 rubygems

Version Path
comee_core-0.1.61 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.60 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.59 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.58 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.57 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.56 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.55 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.54 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.53 spec/factories/comee/core/quotation_requests.rb