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.81 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.80 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.79 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.78 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.77 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.76 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.75 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.74 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.73 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.72 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.71 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.70 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.69 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.68 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.67 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.66 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.65 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.64 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.63 spec/factories/comee/core/quotation_requests.rb
comee_core-0.1.62 spec/factories/comee/core/quotation_requests.rb