]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/old_node_controller_test.rb
Merge remote-tracking branch 'upstream/pull/2050'
[rails.git] / test / controllers / old_node_controller_test.rb
index 1f87431415dff2bd75ef7e46470a3e8091ba9dc3..346634f7d42d8b4f458b1f183567d58f9a3ca2ac 100644 (file)
@@ -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
 
   ##