X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f6695c9079f4eeeecaa796c879868f797f97cd55..6cd694431ed325ce2013e9732b640234610271cc:/test/factories/changeset_comments.rb?ds=inline diff --git a/test/factories/changeset_comments.rb b/test/factories/changeset_comments.rb index 5fb262184..911e7c1b5 100644 --- a/test/factories/changeset_comments.rb +++ b/test/factories/changeset_comments.rb @@ -1,12 +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 - # FIXME: needs user factory - author_id 1 + author :factory => :user end end