]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_way.rb
Merge remote-tracking branch 'upstream/pull/4517'
[rails.git] / test / factories / old_way.rb
index a7d5bdbe8d186156871e986b221c2a99759c92db..b91bf8bf53973289c48dc54845891e8defd82073 100644 (file)
@@ -1,10 +1,10 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :old_way do
-    timestamp Time.now
-    visible true
-    version 1
+    timestamp { Time.now.utc }
+    visible { true }
+    version { 1 }
 
     changeset
-    association :current_way, :factory => :way
+    current_way :factory => :way
   end
 end