]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/old_nodes_controller_test.rb
Add links to api element version xml downloads
[rails.git] / test / controllers / old_nodes_controller_test.rb
index 68a6c1f3efec417b2acbeddbfd7a77f8392a30f5..2e27983d037132e85c75be1286d7123057bcbaa4 100644 (file)
@@ -17,6 +17,7 @@ class OldNodesControllerTest < ActionDispatch::IntegrationTest
     assert_select "h4", /^Version/ do
       assert_select "a[href='#{old_node_path node, 1}']", :count => 0
     end
+    assert_select "a[href='#{node_version_path node, 1}']", :count => 1
   end
 
   def test_not_found