]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/browse_controller_test.rb
RoutingError is now UrlGenerationError
[rails.git] / test / functional / browse_controller_test.rb
index 87a3e748967320e80b4d1f82b5e1959183b5ee25..b320be1e3a2dd584fb7a9b3f0409cc60f53b8e9d 100644 (file)
@@ -131,10 +131,10 @@ class BrowseControllerTest < ActionController::TestCase
   # then we check that we get the correct 404 when a non-existant id is passed
   # then we check that it will get a successful response, when we do pass an id
   def browse_check(type, id)
-    assert_raise ActionController::RoutingError do
+    assert_raise ActionController::UrlGenerationError do
       get type
     end
-    assert_raise ActionController::RoutingError do
+    assert_raise ActionController::UrlGenerationError do
       get type, {:id => -10} # we won't have an id that's negative
     end
     get type, {:id => id}