]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/changeset_comments.rb
use a controller method to handle cancan denials
[rails.git] / test / factories / changeset_comments.rb
index 04644580fd30eda3d43446e4f48707e885fe28a0..fb3eef8953d7183aa2942b5594a3b9fe5e9526d8 100644 (file)
@@ -1,4 +1,4 @@
-FactoryGirl.define do
+FactoryBot.define do
   factory :changeset_comment do
     sequence(:body) { |n| "Changeset comment #{n}" }
     visible true