]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_way.rb
Use CanCanCan for nodes, ways, relations, old and api controllers
[rails.git] / test / factories / old_way.rb
index a7d5bdbe8d186156871e986b221c2a99759c92db..4fc0721d798d14e2c64d9c5579aee9360df4dc44 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 }
+    visible { true }
+    version { 1 }
 
     changeset
     association :current_way, :factory => :way