]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/traces.rb
Merge pull request #1938 from jguthrie100/fix_no_trace_description_error
[rails.git] / test / factories / traces.rb
index efc1180cdbe7afc2c3a5c5b63f7edda94c1caec8..8663ccf2795eb8866b032b6ef85736ca9a5fed1e 100644 (file)
@@ -5,15 +5,15 @@ FactoryBot.define do
 
     user
 
 
     user
 
-    timestamp Time.now
-    inserted true
+    timestamp { Time.now }
+    inserted { true }
 
     trait :deleted do
 
     trait :deleted do
-      visible false
+      visible { false }
     end
 
     transient do
     end
 
     transient do
-      fixture nil
+      fixture { nil }
     end
 
     after(:create) do |trace, evaluator|
     end
 
     after(:create) do |trace, evaluator|