diff --git a/UrlsAndRoutes/UrlsAndRoutes.Tests/RouteTests.cs b/UrlsAndRoutes/UrlsAndRoutes.Tests/RouteTests.cs index 8c7d8d7..266406e 100644 --- a/UrlsAndRoutes/UrlsAndRoutes.Tests/RouteTests.cs +++ b/UrlsAndRoutes/UrlsAndRoutes.Tests/RouteTests.cs @@ -103,7 +103,10 @@ namespace UrlsAndRoutes.Tests TestRouteMatch("~/Customer", "Customer", "index"); TestRouteMatch("~/Customer/List", "Customer", "List"); TestRouteMatch("~/Customer/List/All", "Customer", "List", new { id = "All" }); - TestRouteFail("~/Customer/List/All/Delete"); + TestRouteMatch("~/Customer/List/All/Delete", "Customer", "List", + new { id = "All", catchall = "Delete" }); + TestRouteMatch("~/Customer/List/All/Delete/Perm", "Customer", "List", + new { id = "All", catchall = "Delete/Param" }); } } }