Sha256: 496bcffa87463d7c5d7a2d3a0fb9da12925ce704775ff1a804fd8b7474cad19d
Contents?: true
Size: 521 Bytes
Versions: 7
Compression:
Stored size: 521 Bytes
Contents
require 'earth/rail/national_transit_database_record' FactoryGirl.define do factory :ntd_record, :class => NationalTransitDatabaseRecord do trait(:sf_rail_record) { name 'SF muni rail'; company_id 'muni'; mode_code 'R'; vehicle_distance 10000; vehicle_time 100; passenger_distance 500000; passengers 5000; electricity 25000 } trait(:ny_rail_record) { name 'Metro north rail'; company_id 'mtn'; mode_code 'R' } trait(:bus_record) { name 'Golden gate transit bus'; company_id 'gg'; mode_code 'B' } end end
Version data entries
7 entries across 7 versions & 1 rubygems