X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3bea64f4ccf465fc755b81e7badc06d182a275b7..18b642bfa9d2afdc3da747be25cf6a8ba91ab6b4:/test/controllers/api/notes_controller_test.rb diff --git a/test/controllers/api/notes_controller_test.rb b/test/controllers/api/notes_controller_test.rb index f7e7c77f4..31c55b3a8 100644 --- a/test/controllers/api/notes_controller_test.rb +++ b/test/controllers/api/notes_controller_test.rb @@ -632,6 +632,7 @@ module Api assert_equal "application/rss+xml", @response.media_type assert_select "rss", :count => 1 do assert_select "channel", :count => 1 do + assert_select "description", :text => /1\.2/, :count => 1 assert_select "item", :count => 2 end end @@ -1032,6 +1033,7 @@ module Api assert_equal "application/rss+xml", @response.media_type assert_select "rss", :count => 1 do assert_select "channel", :count => 1 do + assert_select "description", :text => /1\.2/, :count => 1 assert_select "item", :count => 2 end end