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