]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/relation.rb
Set image dimensions in order to avoid a reflow after the page is drawn by the browser
[rails.git] / test / factories / relation.rb
index c4c947a4f8858099f2bdfe1b7e84d3bb8c3a1207..8bb00e287e4045e3ada93f7a154b9f26412660e1 100644 (file)
@@ -1,13 +1,13 @@
 FactoryBot.define do
   factory :relation do
 FactoryBot.define do
   factory :relation do
-    timestamp Time.now
-    visible true
-    version 1
+    timestamp { Time.now }
+    visible { true }
+    version { 1 }
 
     changeset
 
     trait :deleted do
 
     changeset
 
     trait :deleted do
-      visible false
+      visible { false }
     end
 
     trait :with_history do
     end
 
     trait :with_history do