RoutingError is now UrlGenerationError

This commit is contained in:
Tom Hughes 2013-08-05 19:09:50 +01:00
parent 6c51b3cc0a
commit 321f8cecdc
5 changed files with 16 additions and 16 deletions

View file

@ -156,7 +156,7 @@ 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
rescue ActionController::UrlGenerationError => ex
assert_match /No route matches/, ex.to_s
end