]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/old_way.rb
use a controller method to handle cancan denials
[rails.git] / test / factories / old_way.rb
index a7d5bdbe8d186156871e986b221c2a99759c92db..a57ccb7136be6643028e3ad0e0e9e1153c120a40 100644 (file)
@@ -1,4 +1,4 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :old_way do
     timestamp Time.now
     visible true