]> git.openstreetmap.org Git - rails.git/commit
Rework 'empty' tag tests
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 23 Feb 2022 11:37:09 +0000 (11:37 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 30 Mar 2022 15:37:16 +0000 (16:37 +0100)
commit374518f58ac5e598d669ffd4e7e3a945b68b877c
treedc313fd14537a9b67824b369ac3b8ce37e7ece40
parentf0bcc60682aa120399ac0eb1312a000966dd3b75
Rework 'empty' tag tests

These tests were checking that the parent object was set, but this
was not obvious from the way that the tests were named and constructed.

This refactoring makes it clearer what is being checked.
test/models/changeset_tag_test.rb
test/models/node_tag_test.rb
test/models/old_node_tag_test.rb
test/models/old_relation_tag_test.rb
test/models/old_way_tag_test.rb
test/models/relation_tag_test.rb
test/models/way_tag_test.rb