Fix tests to cope with stricter route enforcement in rails 2.3.6
[rails.git] / test / functional / old_node_controller_test.rb
index ff776d67f48cf07529c755a4e33cf901d2bb1322..44edc06a2f7c6dc822a1530e3a37c1285f45227a 100644 (file)
@@ -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
   
   ##