<p>There's no sensible way to refactor a controller test into multiple classes, so lets exclude them from the class length metrics to reveal other over-length classes.</p>
<p>Similar reasoning to <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="452536075" data-permission-text="Issue title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2250" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/2250/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/2250">#2250</a></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/2304'>https://github.com/openstreetmap/openstreetmap-website/pull/2304</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Ignore the class length of test files</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2304/files#diff-0">.rubocop.yml</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2304/files#diff-1">.rubocop_todo.yml</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2304.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/2304.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/2304.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/2304.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/2304?email_source=notifications&email_token=AAK2OLKTCFCQ5YATVT3D2UDP6X5SLA5CNFSM4H7QSD62YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G6MKKHA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMCY3FKHCFWALZBAKDP6X5SLANCNFSM4H7QSD6Q">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAK2OLK66V5DISUD3MQRFH3P6X5SLA5CNFSM4H7QSD62YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G6MKKHA.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/2304?email_source=notifications\u0026email_token=AAK2OLKTCFCQ5YATVT3D2UDP6X5SLA5CNFSM4H7QSD62YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G6MKKHA",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/2304?email_source=notifications\u0026email_token=AAK2OLKTCFCQ5YATVT3D2UDP6X5SLA5CNFSM4H7QSD62YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G6MKKHA",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>