X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/24cd3af31e3d82b3ed203ae8e58218dd2eab5b21..b3f8d9435a30f43b969bb8e3bfcc2386ef0aa4a7:/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