[openstreetmap/openstreetmap-website] Some helpers for cleaner mailer tests (PR #6877)

Pablo Brasero notifications at github.com
Wed Mar 11 15:55:17 UTC 2026


While working on mailers for https://github.com/openstreetmap/openstreetmap-website/pull/6837, I decided to add some useful shortcuts,
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Simpler way to use `url_for` in a mailer test
  * Simpler way to use URL helpers in mailer tests
  * Shortcut to parse HTML emails

-- File Changes --

    M test/mailers/user_mailer_test.rb (60)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/6877 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260311/7a1338e8/attachment.htm>


More information about the rails-dev mailing list