X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d9e4e5836f69f2d5b2e845d79e04927cb783fbc3..b76bfe379e6527c9cfc2ced97aa615f8c2c45dd7:/test/functional/old_node_controller_test.rb?ds=sidebyside diff --git a/test/functional/old_node_controller_test.rb b/test/functional/old_node_controller_test.rb index ff776d67f..ac318f84b 100644 --- a/test/functional/old_node_controller_test.rb +++ b/test/functional/old_node_controller_test.rb @@ -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 ##