]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/user_blocks.rb
use a controller method to handle cancan denials
[rails.git] / test / factories / user_blocks.rb
index f1ef5b65b02a707ce9ec326054e364d1c61faca6..d206511b4616c7053e2d3b7c49e9e8895f5db7be 100644 (file)
@@ -1,4 +1,4 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :user_block do
     sequence(:reason) { |n| "User Block #{n}" }
     ends_at Time.now + 1.day