X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/05beafb2f336a7ce6d22179b1270c299e6d52632..5bd9a2faef7f317299e92063fa22ce56b81e5beb:/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