Exemple #1
0
 public void allows_others()
 {
     UrlQueryEndpoint.ShouldIgnore("/topics").ShouldBeFalse();
 }
Exemple #2
0
 public void ignores_about()
 {
     UrlQueryEndpoint.ShouldIgnore("/_about").ShouldBeTrue();
 }
Exemple #3
0
 public void ignores_internal_routes()
 {
     UrlQueryEndpoint.ShouldIgnore("/_fubu").ShouldBeTrue();
 }
Exemple #4
0
 public void ignores_diagnostic_routes()
 {
     UrlQueryEndpoint.ShouldIgnore("/_diagnostics").ShouldBeTrue();
 }
Exemple #5
0
 public void strips_out_the_base_url()
 {
     UrlQueryEndpoint.GetPattern("http://localhost:5500/_fubu").ShouldEqual("/_fubu");
 }