Sha256: 9c3bd2b2c1014564376e6f5d4b2ace4ca07c0edc0651fa41946d2ec7c0242f47

Contents?: true

Size: 316 Bytes

Versions: 7

Compression:

Stored size: 316 Bytes

Contents

require 'earth/air/flight_distance_class'

FactoryGirl.define do
  factory :flight_distance_class, :class => FlightDistanceClass do
    trait(:short) { name 'short'; distance 1000; min_distance 0; max_distance 3500 }
    trait(:long) { name 'long'; distance 6000; min_distance 3500; max_distance 20037.6 }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
earth-1.2.1 spec/factories/flight_distance_class.rb
earth-1.1.2 spec/factories/flight_distance_class.rb
earth-1.1.1 spec/factories/flight_distance_class.rb
earth-1.1.0 spec/factories/flight_distance_class.rb
earth-1.0.3 spec/factories/flight_distance_class.rb
earth-1.0.2 spec/factories/flight_distance_class.rb
earth-1.0.1 spec/factories/flight_distance_class.rb