X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/13ef6a2df1b4d6a807beb6b107e07a62b78f906c..04017d0e7a827568f8124e92c0c53b265d23eb87:/test/functional/old_node_controller_test.rb?ds=inline diff --git a/test/functional/old_node_controller_test.rb b/test/functional/old_node_controller_test.rb index ff776d67f..44edc06a2 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::RoutingError => ex + assert_match /No route matches/, ex.to_s end ##