[openstreetmap/openstreetmap-website] Refactor API old element redaction tests (PR #5649)

Anton Khorev notifications at github.com
Tue Feb 11 22:09:16 UTC 2025


Because I don't need to change anything there. Here's the end result in `test_unredact_*_moderator` for example:

https://github.com/openstreetmap/openstreetmap-website/blob/41e93bfb66f93fb6a2de42ee00e6b0f28f6b3e08/test/controllers/api/old_nodes_controller_test.rb#L307-L317

https://github.com/openstreetmap/openstreetmap-website/blob/41e93bfb66f93fb6a2de42ee00e6b0f28f6b3e08/test/controllers/api/old_ways_controller_test.rb#L309-L319

https://github.com/openstreetmap/openstreetmap-website/blob/41e93bfb66f93fb6a2de42ee00e6b0f28f6b3e08/test/controllers/api/old_relations_controller_test.rb#L298-L308

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

Message ID: <openstreetmap/openstreetmap-website/pull/5649/c2652175862 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250211/6e65e176/attachment.htm>


More information about the rails-dev mailing list