[openstreetmap/openstreetmap-website] Move to_xml methods from ways and relations into the tests (#2441)
Andy Allan
notifications at github.com
Wed Nov 20 16:19:52 UTC 2019
This is a followup to #2433, and makes the same change for ways and relations.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/2441
-- Commit Summary --
* Move Way.to_xml and to_xml_node out of the model and into tests
* Move Relation.to_xml and to_xml_node out of the model and into tests
-- File Changes --
M app/models/relation.rb (25)
M app/models/way.rb (38)
M test/controllers/api/changesets_controller_test.rb (18)
M test/controllers/api/relations_controller_test.rb (36)
M test/controllers/api/ways_controller_test.rb (66)
M test/test_helper.rb (56)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/2441.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2441.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2441
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191120/33f5756f/attachment.html>
More information about the rails-dev
mailing list