Latest
This commit is contained in:
@@ -72,4 +72,11 @@ public sealed class UrlPolicyShould
|
||||
|
||||
UrlPolicy.Products(page, pageSize, sort, view).ShouldBe(url);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void BuildBrowseProductUrl()
|
||||
{
|
||||
var url = UrlPolicy.BrowseProduct("bolt & nut");
|
||||
url.ShouldBe("/browse/product?slug=bolt%20%26%20nut");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user