Hi,
I am using MVC 2 with Area. To test routing, I am using MvcContrib.
This is the testing code:
[Test] public void Home() { MvcApplication.RegisterRoutes(RouteTable.Routes); "~/".ShouldMapTo(x => x.Login("Nps")); }
I am not sure how to call routing definition that are stored in Areas. Calling AreaRegistration.RegisterAllAreas() is not an option as it gives an exception.
Thanks Revin