X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3da3b93f80592c03fdf17872b7c64ebcc9941a7a..10294f4849b5d97185c618687a710a2dfc19f148:/test/controllers/old_node_controller_test.rb 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 ##