]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_relation.rb
Merge pull request #3690 from AntonKhorev/search-form-no-group
[rails.git] / test / factories / old_relation.rb
index c4b29fad481d18f448830d5497b95913101e12c2..facf06dc0486027086ae1042a50044d9c0203899 100644 (file)
@@ -1,10 +1,10 @@
-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
+    current_relation :factory => :relation
   end
 end