Example #1
0
 public void GetModuleRouteUrl_InsertsConventionalStylesheetModuleName()
 {
     var app = new UrlGenerator("/");
     var url = app.GetModuleRouteUrl<StylesheetModule>();
     url.ShouldEqual("_assets/stylesheets/{*path}");
 }
Example #2
0
 public void GetModuleRouteUrl_InsertsConventionalHtmlTemplateModuleName()
 {
     var app = new UrlGenerator("/");
     var url = app.GetModuleRouteUrl<HtmlTemplateModule>();
     url.ShouldEqual("_assets/htmltemplates/{*path}");
 }