RoutingError is now UrlGenerationError
This commit is contained in:
parent
6c51b3cc0a
commit
321f8cecdc
5 changed files with 16 additions and 16 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue