[openstreetmap/openstreetmap-website] Adds optional use of notes records (PR #5511)

Nenad Vujicic notifications at github.com
Tue Jan 28 18:02:53 UTC 2025


@nenad-vujicic commented on this pull request.



> -  def test_description
-    comment = create(:note_comment)
-    assert_equal comment.body, comment.note.description
-
-    user = create(:user)
-    comment = create(:note_comment, :author => user)
-    assert_equal comment.body, comment.note.description
-  end

Thanks, fixed!

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

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


More information about the rails-dev mailing list