]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/tracepoints.rb
Merge remote-tracking branch 'upstream/pull/4682'
[rails.git] / test / factories / tracepoints.rb
index c47b7932df29ab4fcdcce25c81c9b6324322dd03..86d2aea57a630a601969df31dd2703409ad1bdeb 100644 (file)
@@ -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