X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/15b104f4ff4614aa78c01180b6a9b89dd5a1400f..665f6d3d95f8a746b6453371ca76b9c3d30e8144:/test/factories/tracepoints.rb diff --git a/test/factories/tracepoints.rb b/test/factories/tracepoints.rb index ad520ea1f..86d2aea57 100644 --- a/test/factories/tracepoints.rb +++ b/test/factories/tracepoints.rb @@ -1,10 +1,10 @@ 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 + trackid { 1 } + latitude { 1 * GeoRecord::SCALE } + longitude { 1 * GeoRecord::SCALE } + # tile { QuadTile.tile_for_point(1,1) } + timestamp { Time.now.utc } trace end