Beispiel #1
0
 public void should_strip_root_namespace_and_treat_child_namespaces_as_folders()
 {
     _policy
     .Build(HandlersObjectMother.HandlerCall())
     .Pattern
     .ShouldEqual("posts/create");
 }
Beispiel #2
0
 public void should_add_querystrings_to_route_for_handler_convention()
 {
     _policy
     .Build(HandlersObjectMother.HandlerCall())
     .Input.QueryParameters.First().Name.ShouldEqual("Input");
 }