]> git.openstreetmap.org Git - rails.git/commit
Use old_node factory for OldNode model tests.
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 22 Mar 2017 17:10:48 +0000 (17:10 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 22 Mar 2017 17:10:48 +0000 (17:10 +0000)
commit2d3ca85751e4bf582f953369c6a25b5bbe88116e
tree782a89bc5e81aa557f8d08a03e303d4501fd741e
parent6b6d922239e6b2d0c40181aa3ab8e5bd438aebe3
Use old_node factory for OldNode model tests.

The valid/invalid tests were simplified, since there is little to be
gained from inserting (invalid) nodes into the database and comparing
the node with another copy of itself.
test/models/old_node_test.rb