X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5f31e8d99d1a2d6e044b1607a8c31b00bd269342..79207ee5948a11f920d90c9bdaba394bc4316115:/test/controllers/old_node_controller_test.rb?ds=sidebyside diff --git a/test/controllers/old_node_controller_test.rb b/test/controllers/old_node_controller_test.rb index 1f8743141..346634f7d 100644 --- a/test/controllers/old_node_controller_test.rb +++ b/test/controllers/old_node_controller_test.rb @@ -161,7 +161,7 @@ class OldNodeControllerTest < ActionController::TestCase get :version, :params => { :id => id, :version => version } assert_response :not_found rescue ActionController::UrlGenerationError => ex - assert_match /No route matches/, ex.to_s + assert_match(/No route matches/, ex.to_s) end ##