Sha256: 2139d1979900f453a910d6c1317f71c3d1eba52901d14beae6e9c4f4171786cb

Contents?: true

Size: 402 Bytes

Versions: 13

Compression:

Stored size: 402 Bytes

Contents

FactoryBot.define do
  factory :quotation_request_item, class: "Comee::Core::QuotationRequestItem" do
    product
    quotation_request
    unit
    customer_item_no { Faker::Alphanumeric.alpha(number: 10) }
    quantity { 10 }
    price { 0 }
    discount { 0 }
    expected_delivery_date { Date.current.advance(days: 15) }
    canceled { false }
    valid_from { nil }
    valid_to { nil }
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
comee_core-0.1.65 spec/factories/comee/core/quotation_request_items.rb
comee_core-0.1.64 spec/factories/comee/core/quotation_request_items.rb
comee_core-0.1.63 spec/factories/comee/core/quotation_request_items.rb
comee_core-0.1.62 spec/factories/comee/core/quotation_request_items.rb
comee_core-0.1.61 spec/factories/comee/core/quotation_request_items.rb
comee_core-0.1.60 spec/factories/comee/core/quotation_request_items.rb
comee_core-0.1.59 spec/factories/comee/core/quotation_request_items.rb
comee_core-0.1.58 spec/factories/comee/core/quotation_request_items.rb
comee_core-0.1.57 spec/factories/comee/core/quotation_request_items.rb
comee_core-0.1.56 spec/factories/comee/core/quotation_request_items.rb
comee_core-0.1.55 spec/factories/comee/core/quotation_request_items.rb
comee_core-0.1.54 spec/factories/comee/core/quotation_request_items.rb
comee_core-0.1.53 spec/factories/comee/core/quotation_request_items.rb