]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/relation.rb
Merge remote-tracking branch 'upstream/pull/5419'
[rails.git] / test / factories / relation.rb
index c4c947a4f8858099f2bdfe1b7e84d3bb8c3a1207..6d43df0a37290dbfb3750b6d3c36f52e2b0d769a 100644 (file)
@@ -1,13 +1,13 @@
 FactoryBot.define do
   factory :relation do
-    timestamp Time.now
-    visible true
-    version 1
+    timestamp { Time.now.utc }
+    visible { true }
+    version { 1 }
 
     changeset
 
     trait :deleted do
-      visible false
+      visible { false }
     end
 
     trait :with_history do