]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_relation.rb
Merge remote-tracking branch 'upstream/pull/3936'
[rails.git] / test / factories / old_relation.rb
index c4b29fad481d18f448830d5497b95913101e12c2..1bc1b36cf0c94e7fe2ee2978d10e0df88eaca640 100644 (file)
@@ -1,8 +1,8 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :old_relation do
-    timestamp Time.now
-    visible true
-    version 1
+    timestamp { Time.now.utc }
+    visible { true }
+    version { 1 }
 
     changeset
     association :current_relation, :factory => :relation