]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_way.rb
Add titles to issue pages
[rails.git] / test / factories / old_way.rb
index a7d5bdbe8d186156871e986b221c2a99759c92db..265a477d3022c278a5ee11fbd93a2b69397980b5 100644 (file)
@@ -1,8 +1,8 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :old_way do
-    timestamp Time.now
-    visible true
-    version 1
+    timestamp { Time.now.utc }
+    visible { true }
+    version { 1 }
 
     changeset
     association :current_way, :factory => :way