]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/tracepoints.rb
Create an ApplicationRecord for models to inherit from
[rails.git] / test / factories / tracepoints.rb
index ad520ea1f1f74e047efff100b1c2636bc6871006..4ba152f6e05c73244b9860483a31afddf4676f40 100644 (file)
@@ -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