Sha256: 9c856f45658da4540629494c22d9bd8a8fde85f03efd093d397f45821f419d17

Contents?: true

Size: 363 Bytes

Versions: 9

Compression:

Stored size: 363 Bytes

Contents

FactoryGirl.define do
  factory :route, class: 'Logistics::Core::Route' do
    association :from, factory: :route_lookup
    association :to, factory: :route_lookup
    description { FFaker::Lorem.paragraph }
    association :node, factory: :route_lookup
    zone { FFaker::Name.name }
    radius 1.5
    route_type { FFaker::Name.name }
    margin 1.5
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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