X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/81c11988f58fa54664d60c22f4f6b82f5af5ce1d..3a5c72986517ae11c8f225c1134bf869819a84e3:/test/controllers/old_nodes_controller_test.rb diff --git a/test/controllers/old_nodes_controller_test.rb b/test/controllers/old_nodes_controller_test.rb index 80b8da946..68a6c1f3e 100644 --- a/test/controllers/old_nodes_controller_test.rb +++ b/test/controllers/old_nodes_controller_test.rb @@ -14,6 +14,9 @@ class OldNodesControllerTest < ActionDispatch::IntegrationTest assert_response :success assert_template "old_nodes/show" assert_template :layout => "map" + assert_select "h4", /^Version/ do + assert_select "a[href='#{old_node_path node, 1}']", :count => 0 + end end def test_not_found