X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..20e03c73bb7755dec0c63a6beb40e747496d6e7b:/test/controllers/changesets_controller_test.rb diff --git a/test/controllers/changesets_controller_test.rb b/test/controllers/changesets_controller_test.rb index 31a1e2d0c..a71b5e8fe 100644 --- a/test/controllers/changesets_controller_test.rb +++ b/test/controllers/changesets_controller_test.rb @@ -329,6 +329,14 @@ class ChangesetsControllerTest < ActionDispatch::IntegrationTest changesets.each do |changeset| assert_select "> entry > id", changeset_url(:id => changeset.id) + + assert_select "> entry > content > xhtml|div > xhtml|table" do + assert_select "> xhtml|tr > xhtml|td > xhtml|table" do + changeset.tags.each do |key, _| + assert_select "> xhtml|tr > xhtml|td", :text => /^#{key} = / + end + end + end end end end