Sha256: c3fbff12f2d421f9d438e613343f289995e919456e5b121eb00a25b739c2a30c

Contents?: true

Size: 464 Bytes

Versions: 9

Compression:

Stored size: 464 Bytes

Contents

FactoryGirl.define do
  factory :cargo_detail, class: 'Logistics::Core::CargoDetail' do
    weight 1.5
    quantity 2.0
    association :content_type
    association :offer_request
    association :cargo_type
    description { FFaker::Lorem.paragraph }
    association :container_type
    association :container_size
    truck_number 1.0
    length 1.5
    height 1.5
    width 1.5
    status { FFaker::Name.name }
    association :service_delivery_unit
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
logistics_core-21.11.2 spec/factories/cargo_details.rb
logistics_core-21.11.1 spec/factories/cargo_details.rb
logistics_core-21.08.1 spec/factories/cargo_details.rb
logistics_core-21.03.1 spec/factories/cargo_details.rb
logistics_core-20.10.3 spec/factories/cargo_details.rb
logistics_core-20.10.2 spec/factories/cargo_details.rb
logistics_core-20.10.1 spec/factories/cargo_details.rb
logistics_core-20.9.1 spec/factories/cargo_details.rb
logistics_core-20.8.1 spec/factories/cargo_details.rb