Sha256: cd615378be12b709c1611b8abf1d82bd9c40d387311d7446b8406681a28a475f

Contents?: true

Size: 429 Bytes

Versions: 65

Compression:

Stored size: 429 Bytes

Contents

FactoryBot.define do
  factory :goods_received_note, class: "Comee::Core::GoodsReceivedNote" do
    grn_number { Faker::Alphanumeric.alpha(number: 10) }
    date_of_receipt { Date.current }
    total_quantity { Faker::Number.between(from: 1, to: 20) }
    total_amount { Faker::Number.between(from: 100, to: 2000) }
    received_condition { Faker::Lorem.word }
    comments { Faker::Lorem.sentence }
    purchase_order
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
comee_core-0.3.62 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.61 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.60 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.59 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.58 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.57 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.56 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.55 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.54 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.53 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.51 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.50 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.49 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.48 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.47 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.46 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.45 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.44 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.43 spec/factories/comee/core/goods_received_notes.rb
comee_core-0.3.42 spec/factories/comee/core/goods_received_notes.rb