X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/24cd3af31e3d82b3ed203ae8e58218dd2eab5b21..53817fa9e8d955df0891d156f21b7269b4ed08fc:/test/factories/changeset_comments.rb diff --git a/test/factories/changeset_comments.rb b/test/factories/changeset_comments.rb index 04644580f..911e7c1b5 100644 --- a/test/factories/changeset_comments.rb +++ b/test/factories/changeset_comments.rb @@ -1,10 +1,10 @@ -FactoryGirl.define do +FactoryBot.define do factory :changeset_comment do sequence(:body) { |n| "Changeset comment #{n}" } - visible true + visible { true } changeset - association :author, :factory => :user + author :factory => :user end end