From: Anton Khorev Date: Fri, 22 Jul 2022 15:02:00 +0000 (+0300) Subject: Uncomment asserts for namespaced elements in note rss test X-Git-Tag: live~1638^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/d353186b1911f2e9501253cc6434f9e55f72778b?ds=sidebyside;hp=3871d61be43857436d1eaefe9e84841e8a7d0f4f Uncomment asserts for namespaced elements in note rss test --- diff --git a/test/controllers/api/notes_controller_test.rb b/test/controllers/api/notes_controller_test.rb index d6759e192..962718454 100644 --- a/test/controllers/api/notes_controller_test.rb +++ b/test/controllers/api/notes_controller_test.rb @@ -495,9 +495,9 @@ module Api assert_select "link", browse_note_url(open_note) assert_select "guid", note_url(open_note) assert_select "pubDate", open_note.created_at.to_fs(:rfc822) - # assert_select "geo:lat", open_note.lat.to_s - # assert_select "geo:long", open_note.lon - # assert_select "georss:point", "#{open_note.lon} #{open_note.lon}" + assert_select "geo|lat", open_note.lat.to_s + assert_select "geo|long", open_note.lon.to_s + assert_select "georss|point", "#{open_note.lon} #{open_note.lon}" end end end