]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/traces.rb
Put the resourceful routing at the top of the list, for clarity
[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|