]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_way.rb
Avoid adjusting time by a number of days
[rails.git] / test / factories / old_way.rb
index 265a477d3022c278a5ee11fbd93a2b69397980b5..b91bf8bf53973289c48dc54845891e8defd82073 100644 (file)
@@ -5,6 +5,6 @@ FactoryBot.define do
     version { 1 }
 
     changeset
     version { 1 }
 
     changeset
-    association :current_way, :factory => :way
+    current_way :factory => :way
   end
 end
   end
 end