X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b2fa94750221ec316eb6c5244ca66543f321538c..82a4548ca878d6c597df4178e81fd4e16da7212e:/test/factories/changeset_comments.rb diff --git a/test/factories/changeset_comments.rb b/test/factories/changeset_comments.rb index fb3eef895..911e7c1b5 100644 --- a/test/factories/changeset_comments.rb +++ b/test/factories/changeset_comments.rb @@ -1,10 +1,10 @@ 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