]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/user_role.rb
Replace lookup_user_by_id with load_resource
[rails.git] / test / factories / user_role.rb
index 0eea25cee56254523658de77a5c32f718f6bfd93..1916d9b2e9769759477cef313bc17061f191e694 100644 (file)
@@ -1,6 +1,6 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :user_role do
     user
-    association :granter, :factory => :user
+    granter :factory => :user
   end
 end