X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dc07462c3b13838162f2a7c9d9c7521ba1be6e54..33d292e9810faeb0a038d6a3df3881411183e28c:/test/controllers/changesets_controller_test.rb?ds=sidebyside diff --git a/test/controllers/changesets_controller_test.rb b/test/controllers/changesets_controller_test.rb index 778a6024c..dba7642c4 100644 --- a/test/controllers/changesets_controller_test.rb +++ b/test/controllers/changesets_controller_test.rb @@ -254,9 +254,11 @@ class ChangesetsControllerTest < ActionDispatch::IntegrationTest check_feed_result([closed_changeset, changeset]) end + ## + # This should correctly escape XML special characters in the comment def test_feed_with_comment_tag changeset = create(:changeset, :num_changes => 1) - create(:changeset_tag, :changeset => changeset, :k => "comment", :v => "tested-changeset-comment") + create(:changeset_tag, :changeset => changeset, :k => "comment", :v => "testedcomment") get history_feed_path(:format => :atom) assert_response :success