public void fixed_filesystem_feed() { theProvider.For(new Feed("file://C:/code/nugets", UpdateMode.Fixed)) .As <FileSystemNugetFeed>() .Directory .ShouldEqual(Path.Combine("C:" + Path.DirectorySeparatorChar, "code", "nugets")); }
public void fixed_filesystem_feed() { theProvider.For(new Feed(string.Format("file://{0}/nugets", Path.GetTempPath()), UpdateMode.Fixed)) .As <FileSystemNugetFeed>() .Directory .ShouldEqual(Path.Combine(Path.GetTempPath(), "nugets")); }