]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/old_node_controller_test.rb
Refine user menu CSS
[rails.git] / test / functional / old_node_controller_test.rb
index 44edc06a2f7c6dc822a1530e3a37c1285f45227a..ac318f84bd7ba11ca19c73a5067d790823e948dd 100644 (file)
@@ -156,7 +156,7 @@ class OldNodeControllerTest < ActionController::TestCase
   def check_not_found_id_version(id, version)
     get :version, :id => id, :version => version
     assert_response :not_found
-  rescue ActionController::RoutingError => ex
+  rescue ActionController::UrlGenerationError => ex
     assert_match /No route matches/, ex.to_s
   end