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