<p>There's definitely some future work in renaming the routes. In this PR I've added various names, which either a) match similar examples that already existed for other elements (like nodes when naming a relation route) or b) matched what the "resourceful routing" would give, when we eventually refactor the routes to be resourceful.</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/2613'>https://github.com/openstreetmap/openstreetmap-website/pull/2613</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>More controller test refactoring</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2613/files#diff-21497849d8f00507c9c8dcaf6288b136">config/routes.rb</a>
    (32)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2613/files#diff-ca53d62737145200d4e703e1117a280d">test/controllers/api/nodes_controller_test.rb</a>
    (146)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2613/files#diff-f83811b02ade6a3723986dea6128af68">test/controllers/api/old_nodes_controller_test.rb</a>
    (92)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2613/files#diff-082e19c6538062087858a546d2d5d5d2">test/controllers/api/old_relations_controller_test.rb</a>
    (76)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2613/files#diff-df426d89e5a080e9ae8f4666d78fa768">test/controllers/api/old_ways_controller_test.rb</a>
    (86)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2613/files#diff-8639741d7326c4e256dc79d4d46d9303">test/controllers/api/relations_controller_test.rb</a>
    (204)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2613/files#diff-4fffe20d451c3eca7379fe8fec86e21c">test/controllers/api/ways_controller_test.rb</a>
    (158)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2613.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2613.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2613.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2613.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/2613">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLITCK4WTKYRG5IJX3TRQF2XHANCNFSM4M2QM6BQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLPF5DW4F5GPVR6RS2TRQF2XHA5CNFSM4M2QM6B2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JEPP4LA.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/2613",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2613",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>