[openstreetmap/openstreetmap-website] Count only tbody rows when testing tables (PR #4586)

Anton Khorev notifications at github.com
Sun Mar 17 22:33:39 UTC 2024


Avoids adding 1 to expected number of rows.
Was done like this in https://github.com/openstreetmap/openstreetmap-website/commit/b57ed0bf23ba13e9f79bb3ab8f9bda59ee577d4a
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Count only tbody rows when testing tables

-- File Changes --

    M test/controllers/notes_controller_test.rb (13)
    M test/controllers/user_blocks_controller_test.rb (24)
    M test/controllers/users_controller_test.rb (12)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/4586 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240317/22b27e94/attachment.htm>


More information about the rails-dev mailing list