X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a3618d2b5fcb991fef7786fbbbfd6d3e0ac88d28..0a9dc1651e1476c904d9172bf9f522b9b18a779a:/test/factories/changeset_comments.rb?ds=sidebyside diff --git a/test/factories/changeset_comments.rb b/test/factories/changeset_comments.rb index d12c1b653..911e7c1b5 100644 --- a/test/factories/changeset_comments.rb +++ b/test/factories/changeset_comments.rb @@ -1,11 +1,10 @@ -FactoryGirl.define do +FactoryBot.define do factory :changeset_comment do sequence(:body) { |n| "Changeset comment #{n}" } - visible true + visible { true } - # FIXME: needs changeset factory - changeset_id 3 + changeset - association :author, :factory => :user + author :factory => :user end end