public void TestListAllTemp() { Directory.CreateDirectory(Path.Combine(_tempDir, "sha1=test")); Directory.CreateDirectory(Path.Combine(_tempDir, "temp=stuff")); _store.ListAllTemp().Should().Equal(Path.Combine(_tempDir, "temp=stuff")); }
public void TestListAllTemp() { Directory.CreateDirectory(Path.Combine(_tempDir, "sha1=test")); Directory.CreateDirectory(Path.Combine(_tempDir, "temp=stuff")); CollectionAssert.AreEqual(new[] { Path.Combine(_tempDir, "temp=stuff") }, _store.ListAllTemp()); }