]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/changesets_controller_test.rb
Swap older/newer diary entries buttons
[rails.git] / test / controllers / changesets_controller_test.rb
index 31a1e2d0c77b43d35d263491aabadd8899bc7443..a71b5e8feb615773063a7c435c3a23350f524d48 100644 (file)
@@ -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