<p dir="auto">Rubocop would complain about something like <code class="notranslate">assert issue.open?</code> and it gets changed to <code class="notranslate">assert_predicate</code>, but <code class="notranslate">assert_not issue.open?</code> is left alone for some reason.</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/5017'>https://github.com/openstreetmap/openstreetmap-website/pull/5017</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5017/commits/a05de1e0a73ba8bdd101d63e1de981691d8e1e55" class="commit-link">a05de1e</a> Use assert_not_predicate instead of assert_not next to assert_predicate</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5017/files">2 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5017/files#diff-80cb4dd0c5761eb23f66d2d1369cd31279fb52f4eccd2b46b785f109b1d099e8">test/controllers/issues_controller_test.rb</a>
(12)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5017/files#diff-91bef9fda3c55514e23a4a8edba948f68aad59b57951adcff0b11e9ea9159854">test/models/user_test.rb</a>
(6)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5017.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5017.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5017.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5017.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5017">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLUPVDPOL4WT3MD2NDZOBL6JAVCNFSM6AAAAABLNSSVM6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZDQNZZGMZDGMI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLD5WRJRSTST4ZBLSTZOBL6JA5CNFSM6AAAAABLNSSVM6WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHJBRDRR4.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5017</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5017",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5017",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>