X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b78bb9f6313f3139ac83784df52bf39a5619d3e7..377391e8bb4294a539d5363a20af51243877243c:/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