[openstreetmap/openstreetmap-website] Use assert_not_predicate in tests that have assert_predicate (PR #4454)

Tom Hughes notifications at github.com
Wed Jan 3 18:27:33 UTC 2024


The [minitest style guide](https://minitest.rubystyle.guide/#refute-predicate) actually suggests using `refute_predicate` here and rubocop-minitest has a [cop](https://docs.rubocop.org/rubocop-minitest/cops_minitest.html#minitestrefutepredicate) to detect `refute` and suggest `refute_predicate` but it misses `assert_not`...

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4454#issuecomment-1875789385
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4454/c1875789385 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240103/4477b514/attachment.htm>


More information about the rails-dev mailing list