X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dbd88d893f3c3fce9cafd666b94396988646d81f..72d61f29240aa54e6b1aa63912ea6d1c290209fc:/test/factories/tracepoints.rb diff --git a/test/factories/tracepoints.rb b/test/factories/tracepoints.rb index c47b7932d..86d2aea57 100644 --- a/test/factories/tracepoints.rb +++ b/test/factories/tracepoints.rb @@ -1,10 +1,10 @@ -FactoryGirl.define do +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