]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/old_relations_controller_test.rb
Add links to api element version xml downloads
[rails.git] / test / controllers / old_relations_controller_test.rb
index 2e791f227f586d1c669c52121fc5da3192784415..488852ed975ac403c2fa6372ecb31c0a08737690 100644 (file)
@@ -17,6 +17,7 @@ class OldRelationsControllerTest < ActionDispatch::IntegrationTest
     assert_select "h4", /^Version/ do
       assert_select "a[href='#{old_relation_path relation, 1}']", :count => 0
     end
+    assert_select "a[href='#{relation_version_path relation, 1}']", :count => 1
   end
 
   def test_visible_with_members