From d353186b1911f2e9501253cc6434f9e55f72778b Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Fri, 22 Jul 2022 18:02:00 +0300 Subject: [PATCH 1/1] Uncomment asserts for namespaced elements in note rss test --- test/controllers/api/notes_controller_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5