]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/node.rb
It's to_sym not to_symbol
[rails.git] / test / factories / node.rb
index d849755cd18fb14124e6bea753d82dcffdadec96..ae32926cdc0a2c81be54e89f36756249e71badc1 100644 (file)
@@ -1,16 +1,16 @@
 FactoryBot.define do
   factory :node do
-    latitude 1 * GeoRecord::SCALE
-    longitude 1 * GeoRecord::SCALE
+    latitude { 1 * GeoRecord::SCALE }
+    longitude { 1 * GeoRecord::SCALE }
 
     changeset
 
-    visible true
-    timestamp Time.now
-    version 1
+    visible { true }
+    timestamp { Time.now }
+    version { 1 }
 
     trait :deleted do
-      visible false
+      visible { false }
     end
 
     trait :with_history do