]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_way.rb
Add :closed trait to note factory
[rails.git] / test / factories / old_way.rb
index 265a477d3022c278a5ee11fbd93a2b69397980b5..b91bf8bf53973289c48dc54845891e8defd82073 100644 (file)
@@ -5,6 +5,6 @@ FactoryBot.define do
     version { 1 }
 
     changeset
-    association :current_way, :factory => :way
+    current_way :factory => :way
   end
 end