Using FluentPath assembly

Deprecates PathUtil utility class

--HG--
branch : dev
This commit is contained in:
Louis DeJardin
2010-04-14 12:50:00 -07:00
parent c416ed1f53
commit 4b24886423
7 changed files with 94 additions and 152 deletions

View File

@@ -13,14 +13,13 @@ namespace Orchard.Specs.Hosting
{
public static RequestDetails SendRequest(this WebHost webHost, string urlPath)
{
var physicalPath = new PathUtil(webHost.PhysicalDirectory);
var physicalPath = Bleroy.FluentPath.Path.Get(webHost.PhysicalDirectory);
var details = new RequestDetails
{
Page = physicalPath
.Combine(urlPath.TrimStart('/', '\\'))
.GetRelativePath(physicalPath)
.ToString()
};
webHost.Execute(() =>