[openstreetmap/openstreetmap-website] Refactor api changeset discussion tests (PR #5600)

Anton Khorev notifications at github.com
Mon Feb 3 16:23:09 UTC 2025


Replaces lines like this
```ruby
assert_select "osm>changeset>discussion>comment:nth-child(1)>@id", comment1.id.to_s
```
with nested `assert_dom`s.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Refactor api changeset discussion tests

-- File Changes --

    M test/controllers/api/changesets_controller_test.rb (125)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/5600 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250203/34674e41/attachment.htm>


More information about the rails-dev mailing list