X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cb87f02642d0097ebc067ca1f9371dde274a41e3..9b9e857b726d4a45af5e1b760ac1639cd31f0280:/test/factories/changeset_comments.rb?ds=sidebyside 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