]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/traces.rb
Localisation updates from https://translatewiki.net.
[rails.git] / test / factories / traces.rb
index efc1180cdbe7afc2c3a5c5b63f7edda94c1caec8..713a5be17ee9aa84fcd76c35de3ee486c5c64ae7 100644 (file)
@@ -5,15 +5,16 @@ FactoryBot.define do
 
     user
 
-    timestamp Time.now
-    inserted true
+    timestamp { Time.now }
+    inserted { true }
+    size { 10 }
 
     trait :deleted do
-      visible false
+      visible { false }
     end
 
     transient do
-      fixture nil
+      fixture { nil }
     end
 
     after(:create) do |trace, evaluator|