openstreetmap-website/test/factories/tracepoints.rb
2018-08-28 19:12:01 +01:00

11 lines
233 B
Ruby

FactoryBot.define do
factory :tracepoint do
trackid { 1 }
latitude { 1 * GeoRecord::SCALE }
longitude { 1 * GeoRecord::SCALE }
# tile { QuadTile.tile_for_point(1,1) }
timestamp { Time.now }
trace
end
end