X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a91e50d308edafa975588287179d0ffbad4f5bc9..1c04af415e2b0cac084ee38e9c007bda11cbeca4:/test/factories/changeset_comments.rb diff --git a/test/factories/changeset_comments.rb b/test/factories/changeset_comments.rb index 5fb262184..fb3eef895 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 - # FIXME: needs changeset factory - changeset_id 3 + changeset - # FIXME: needs user factory - author_id 1 + association :author, :factory => :user end end