]> git.openstreetmap.org Git - rails.git/commit
Move Node.to_xml and to_xml_node out of model and into tests
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 13 Nov 2019 16:01:35 +0000 (17:01 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 13 Nov 2019 16:01:40 +0000 (17:01 +0100)
commit4e7c0c3008c4cc7b3f6ab2f9ad738e2af2f84703
tree80d035411d14b35b11bdf01ddc63faa676efc9ee
parentae5c364e979d2fb812778c0682ae8060d2c589ff
Move Node.to_xml and to_xml_node out of model and into tests

This code is only used in the tests for creating 'fixture' payloads,
so it shouldn't be kept in the models.
app/models/node.rb
test/controllers/api/changesets_controller_test.rb
test/controllers/api/nodes_controller_test.rb
test/controllers/api/old_nodes_controller_test.rb
test/test_helper.rb