[openstreetmap/openstreetmap-website] Ignore the class length of test files (#2304)

Andy Allan notifications at github.com
Wed Jul 10 15:26:29 UTC 2019


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.

Similar reasoning to #2250 
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/2304

-- Commit Summary --

  * Ignore the class length of test files

-- File Changes --

    M .rubocop.yml (4)
    M .rubocop_todo.yml (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/2304.patch
https://github.com/openstreetmap/openstreetmap-website/pull/2304.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190710/4faaabd1/attachment.html>


More information about the rails-dev mailing list