]> git.openstreetmap.org Git - rails.git/commitdiff
Use model relations when creating objects from factories
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 19 Oct 2016 10:32:08 +0000 (11:32 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 19 Oct 2016 10:32:08 +0000 (11:32 +0100)
Rather than passing around record ids explicitly, we can use the
model relations and pass around the models. This makes reading the
tests slightly simpler to read.


No differences found