Example #1
0
 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"));
 }
Example #2
0
 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"));
 }