X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/81c11988f58fa54664d60c22f4f6b82f5af5ce1d..3a5c72986517ae11c8f225c1134bf869819a84e3:/test/controllers/old_ways_controller_test.rb diff --git a/test/controllers/old_ways_controller_test.rb b/test/controllers/old_ways_controller_test.rb index 897bdba1f..022e4e820 100644 --- a/test/controllers/old_ways_controller_test.rb +++ b/test/controllers/old_ways_controller_test.rb @@ -14,6 +14,9 @@ class OldWaysControllerTest < ActionDispatch::IntegrationTest assert_response :success assert_template "old_ways/show" assert_template :layout => "map" + assert_select "h4", /^Version/ do + assert_select "a[href='#{old_way_path way, 1}']", :count => 0 + end end def test_visible_with_shared_nodes