X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cb87f02642d0097ebc067ca1f9371dde274a41e3..899fc66a62b036adcfd59f5da80c7fc6f30cd3a8:/test/factories/tracepoints.rb?ds=sidebyside diff --git a/test/factories/tracepoints.rb b/test/factories/tracepoints.rb index ad520ea1f..4ba152f6e 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 } trace end