]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/user_role.rb
Add closed_by attribute to :closed note factory trait
[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