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.3.26 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.25 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.24 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.23 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.22 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.21 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.20 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.19 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.18 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.17 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.16 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.15 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.14 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.13 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.12 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.11 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.10 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.9 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.8 spec/factories/comee/core/quotation_requests.rb
comee_core-0.3.7 spec/factories/comee/core/quotation_requests.rb