Sha256: 49505db91ce2b56d9f7b72cc4b28ae1a8938ef05289b2dab1524926b6fc46349

Contents?: true

Size: 955 Bytes

Versions: 9

Compression:

Stored size: 955 Bytes

Contents

FactoryGirl.define do
  factory :offer_request, class: 'Logistics::Core::OfferRequest' do
    request_no { FFaker::Name.name }
    association :user
    association :communication_channel
    source_detail { FFaker::Name.name }
    point_of_recipient { FFaker::Name.name }
    date_of_recipient Date.new
    general_remark { FFaker::Name.name }
    rate_level { FFaker::Name.name }
    security_status { FFaker::Name.name }
    is_sent false
    sent_date Date.new
    remark { FFaker::Name.name }
    date_status_set Date.new
    no_of_items 1
    no_of_convoy 1
    association :agent
    association :carrier
    arrival_date Date.new
    days_before_returning_container 1.5
    days_until_loaded 1.5
    additional_service_status { FFaker::Name.name }
    association :operation_type
    association :transaction_type
    association :client
    association :contract
    freight_forwarding true
    customs_clearing true
    transport true
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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