]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/tracepoints.rb
Fix rubocop-minitest warnings
[rails.git] / test / factories / tracepoints.rb
index c47b7932df29ab4fcdcce25c81c9b6324322dd03..4ba152f6e05c73244b9860483a31afddf4676f40 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 }
 
     trace
   end