X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/392b68a65fd6ffa521b89e079b234bb0241380d3..be99cdea919cbf49a5250480c2ae9f4ba0a56823:/test/factories/changeset_comments.rb?ds=inline diff --git a/test/factories/changeset_comments.rb b/test/factories/changeset_comments.rb index d12c1b653..911e7c1b5 100644 --- a/test/factories/changeset_comments.rb +++ b/test/factories/changeset_comments.rb @@ -1,11 +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 - association :author, :factory => :user + author :factory => :user end end