]> git.openstreetmap.org Git - rails.git/commitdiff
Update notes_controller_test to use note and note_comment factories
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 6 Oct 2016 08:15:47 +0000 (09:15 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 6 Oct 2016 08:15:47 +0000 (09:15 +0100)
I've ported across the naming for each note from the old fixture names.
This helps in the mega-tests where multiple notes are tested at the
same time.

The number or results have changed in some tests, since there's little
point in creating e.g. 5 note comments when 2 is enough to test the
functionality.


No differences found