public void InBoundUrl_WithNonGetMethod_AndNonEmptyParam_IsNotRouted() { const string content = "sample-content"; var url = new SkinsRouter.SampleRoute().Url.ToAppRelativeUrl() .Replace("{content}", content); url.WithMethodsExcept(HttpVerbs.Get).ShouldMapToNothing(); }
public void InBoundUrl_WithNonGetMethod_AndNoParam_IsNotRouted() { var url = new SkinsRouter.SampleRoute().AlternateUrls.Single().ToAppRelativeUrl(); url.WithMethodsExcept(HttpVerbs.Get).ShouldMapToNothing(); }