X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/8ad1ce97983a5d4fb86ccb8ee4cd640a76f95255..11cc4a5e601dd288d601e6e35a72d159062f18b5:/test/controllers/api/old_nodes_controller_test.rb diff --git a/test/controllers/api/old_nodes_controller_test.rb b/test/controllers/api/old_nodes_controller_test.rb index e43707245..c94a4bb1d 100644 --- a/test/controllers/api/old_nodes_controller_test.rb +++ b/test/controllers/api/old_nodes_controller_test.rb @@ -156,8 +156,8 @@ module Api def check_not_found_id_version(id, version) get :version, :params => { :id => id, :version => version }, :format => :xml assert_response :not_found - rescue ActionController::UrlGenerationError => ex - assert_match(/No route matches/, ex.to_s) + rescue ActionController::UrlGenerationError => e + assert_match(/No route matches/, e.to_s) end ##