Use changeset factory for factory associations
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 22 Mar 2017 11:09:52 +0000 (11:09 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 22 Mar 2017 11:09:52 +0000 (11:09 +0000)
commit24cd3af31e3d82b3ed203ae8e58218dd2eab5b21
treefe44ab9ef457ea98e1a1c8c17dd994469ba20061
parent56752ac02ae1b99a5bcf36bfe390bf5d98ce2ab8
Use changeset factory for factory associations

One test needed updating since it assumed the comments were being
created on a particular changeset.
test/controllers/browse_controller_test.rb
test/factories/changeset_comments.rb
test/factories/old_node.rb