]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/relation.rb
Facelift offline.html and use Bootstrap classes for "notifications"
[rails.git] / test / factories / relation.rb
index 44f18f49103cb66182861e4b51bed6c2350f81aa..6d43df0a37290dbfb3750b6d3c36f52e2b0d769a 100644 (file)
@@ -1,13 +1,13 @@
-FactoryGirl.define do
+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