X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/02eeefbe0ff7d5d60d6a7133942f5792d2aabb15..b8da7922ec4194e61a1eebb43be787f8b55d1647:/test/factories/changeset_comments.rb?ds=sidebyside diff --git a/test/factories/changeset_comments.rb b/test/factories/changeset_comments.rb index 5fb262184..673a0a9d6 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 + association :author, :factory => :user end end