]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_relation.rb
Refactor the query results to use bootstrap list-group-flush
[rails.git] / test / factories / old_relation.rb
index c4b29fad481d18f448830d5497b95913101e12c2..8fdb23f58e3b65752aed5e819edca7aaec4b6be7 100644 (file)
@@ -1,8 +1,8 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :old_relation do
-    timestamp Time.now
-    visible true
-    version 1
+    timestamp { Time.now }
+    visible { true }
+    version { 1 }
 
     changeset
     association :current_relation, :factory => :relation