]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/changeset_comments.rb
Merge branch 'p' of https://github.com/jfirebaugh/openstreetmap-website into jfirebaugh-p
[rails.git] / test / factories / changeset_comments.rb
index d12c1b653c391f2c8d94ccd597ad38d27ae7980e..fb3eef8953d7183aa2942b5594a3b9fe5e9526d8 100644 (file)
@@ -1,10 +1,9 @@
-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
 
     association :author, :factory => :user
   end