]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_way.rb
unburden call for User fabrication
[rails.git] / test / factories / old_way.rb
index 4fc0721d798d14e2c64d9c5579aee9360df4dc44..b91bf8bf53973289c48dc54845891e8defd82073 100644 (file)
@@ -1,10 +1,10 @@
 FactoryBot.define do
   factory :old_way do
-    timestamp { Time.now }
+    timestamp { Time.now.utc }
     visible { true }
     version { 1 }
 
     changeset
-    association :current_way, :factory => :way
+    current_way :factory => :way
   end
 end