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