X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b954416a70fb167b9cae0a3937de16bd9a93d239..041059690882d6420fd8bd087bb28e5cb2ea9123:/test/factories/changeset_comments.rb?ds=sidebyside diff --git a/test/factories/changeset_comments.rb b/test/factories/changeset_comments.rb index d12c1b653..673a0a9d6 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 + visible { true } - # FIXME: needs changeset factory - changeset_id 3 + changeset association :author, :factory => :user end