]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/user.rb
use a controller method to handle cancan denials
[rails.git] / test / factories / user.rb
index 8fe768410594dd8e4bf63bc60bab9bdb699a2ec3..d6ee1fa8c03249f9f4216cde09b890c921936bc0 100644 (file)
@@ -1,4 +1,4 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :user do
     sequence(:email) { |n| "user#{n}@example.com" }
     sequence(:display_name) { |n| "User #{n}" }