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