]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/old_node_controller_test.rb
Move vagrant provisioning script to a better location.
[rails.git] / test / functional / old_node_controller_test.rb
index ff776d67f48cf07529c755a4e33cf901d2bb1322..ac318f84bd7ba11ca19c73a5067d790823e948dd 100644 (file)
@@ -156,6 +156,8 @@ class OldNodeControllerTest < ActionController::TestCase
   def check_not_found_id_version(id, version)
     get :version, :id => id, :version => version
     assert_response :not_found
+  rescue ActionController::UrlGenerationError => ex
+    assert_match /No route matches/, ex.to_s
   end
   
   ##