[openstreetmap/openstreetmap-website] Removes optional using first comments records (PR #5744)

Tom Hughes notifications at github.com
Tue Mar 4 22:30:22 UTC 2025


@tomhughes commented on this pull request.



>      comment = create(:note_comment, :author => user)
-    assert_equal user, comment.note.author
+    assert_equal "Default note's description", comment.note.description

I wasn't really talking about just that one line, but everything from that point on and the general change of merging the two tests and dropping the testing of author?

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

Message ID: <openstreetmap/openstreetmap-website/pull/5744/review/2659244553 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250304/2ba1402c/attachment.htm>


More information about the rails-dev mailing list