X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/81c11988f58fa54664d60c22f4f6b82f5af5ce1d..3a5c72986517ae11c8f225c1134bf869819a84e3:/test/controllers/old_relations_controller_test.rb diff --git a/test/controllers/old_relations_controller_test.rb b/test/controllers/old_relations_controller_test.rb index 87ee50db4..2e791f227 100644 --- a/test/controllers/old_relations_controller_test.rb +++ b/test/controllers/old_relations_controller_test.rb @@ -14,6 +14,9 @@ class OldRelationsControllerTest < ActionDispatch::IntegrationTest assert_response :success assert_template "old_relations/show" assert_template :layout => "map" + assert_select "h4", /^Version/ do + assert_select "a[href='#{old_relation_path relation, 1}']", :count => 0 + end end def test_visible_with_members