<p>This is a followup to <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="522340207" data-permission-text="Issue title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2433" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/2433/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/2433">#2433</a>, and makes the same change for ways and relations.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/2441'>https://github.com/openstreetmap/openstreetmap-website/pull/2441</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Move Way.to_xml and to_xml_node out of the model and into tests</li>
<li>Move Relation.to_xml and to_xml_node out of the model and into tests</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2441/files#diff-0">app/models/relation.rb</a>
(25)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2441/files#diff-1">app/models/way.rb</a>
(38)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2441/files#diff-2">test/controllers/api/changesets_controller_test.rb</a>
(18)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2441/files#diff-3">test/controllers/api/relations_controller_test.rb</a>
(36)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2441/files#diff-4">test/controllers/api/ways_controller_test.rb</a>
(66)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/2441/files#diff-5">test/test_helper.rb</a>
(56)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2441.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2441.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2441.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2441.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2441?email_source=notifications&email_token=AAK2OLPAJ5QT6LYGZA3U6LDQUVPSRA5CNFSM4JPVPGKKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2YYULQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMSE2QUN5OLYQC5D7DQUVPSRANCNFSM4JPVPGKA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLL23ZUBZNEFQUFHQX3QUVPSRA5CNFSM4JPVPGKKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2YYULQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/2441?email_source=notifications\u0026email_token=AAK2OLPAJ5QT6LYGZA3U6LDQUVPSRA5CNFSM4JPVPGKKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2YYULQ",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2441?email_source=notifications\u0026email_token=AAK2OLPAJ5QT6LYGZA3U6LDQUVPSRA5CNFSM4JPVPGKKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2YYULQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>