]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/note_comments.rb
use a controller method to handle cancan denials
[rails.git] / test / factories / note_comments.rb
index b06dc378aefebb71563e80d0dd715f1873bf724c..d3fb3ce966922ecde7223f4fc330b783d3cbf789 100644 (file)
@@ -1,4 +1,4 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :note_comment do
     sequence(:body) { |n| "This is note comment #{n}" }
     visible true