]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/notes.rb
Merge pull request #3440 from mmd-osm/relationmemberlimit
[rails.git] / test / factories / notes.rb
index 56a9541dcc56548414aa0104e98f965da8771caf..77b4245aa5b037fdf5eb491d565e63f2017d93d0 100644 (file)
@@ -1,12 +1,12 @@
 FactoryBot.define do
   factory :note do
-    latitude 1 * GeoRecord::SCALE
-    longitude 1 * GeoRecord::SCALE
-    # tile QuadTile.tile_for_point(1,1)
+    latitude { 1 * GeoRecord::SCALE }
+    longitude { 1 * GeoRecord::SCALE }
+    # tile { QuadTile.tile_for_point(1,1) }
 
     factory :note_with_comments do
       transient do
-        comments_count 1
+        comments_count { 1 }
       end
 
       after(:create) do |note, evaluator|