]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_node.rb
It's to_sym not to_symbol
[rails.git] / test / factories / old_node.rb
index 089363397bb054bf1f3434f59b0484fa55b39754..e129b62f7b7a5b6118f6cf9f136964c193aecb65 100644 (file)
@@ -1,13 +1,13 @@
 FactoryBot.define do
   factory :old_node do
-    latitude 1 * GeoRecord::SCALE
-    longitude 1 * GeoRecord::SCALE
+    latitude { 1 * GeoRecord::SCALE }
+    longitude { 1 * GeoRecord::SCALE }
 
     changeset
     association :current_node, :factory => :node
 
-    visible true
-    timestamp Time.now
-    version 1
+    visible { true }
+    timestamp { Time.now }
+    version { 1 }
   end
 end