]> git.openstreetmap.org Git - rails.git/commit
Update note model tests to use factories.
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 6 Oct 2016 07:56:45 +0000 (08:56 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 6 Oct 2016 07:56:45 +0000 (08:56 +0100)
commite4d3c7fb8ee478bb7e489577a2404328c6477e53
tree89fb6a40c4c7746923902247b774ae541385d632
parent2e1ccafdce30a06fab7a72e5c856ce8a6c23bfdd
Update note model tests to use factories.

The NoteTest.test_visible? has changed slightly, so that the second
test of .visible? is using a closed note, which is a more useful test
than the original.
test/models/note_comment_test.rb
test/models/note_test.rb