X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f398c1e5eb35fa9e355544fb2860bc2ca9cfbe67..600ed78b04a94fcc5bb80f6c9a9b872bfd9e9c53:/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