Sha256: 8a4738dbcdff0a471c190e7a17caf56b78acacc0e530cc3bc3f03fc9934a7b1d

Contents?: true

Size: 324 Bytes

Versions: 9

Compression:

Stored size: 324 Bytes

Contents

FactoryGirl.define do
  factory :route_rate, class: 'Logistics::Core::RouteRate' do
    rate 1.5
    association :route
    association :transporter
    association :weight_range
    association :rate_period
    rate_type { FFaker::Name.name }
    association :container_size
    association :selected_transporter
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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