]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_relation.rb
Fixed "Tab alignment" issue described in #4773
[rails.git] / test / factories / old_relation.rb
index a6e87a38bd4aaaef1d5cf1e348fb2fe759e5bb62..facf06dc0486027086ae1042a50044d9c0203899 100644 (file)
@@ -1,10 +1,10 @@
 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