fixed broken tests.

This commit is contained in:
kay.one
2013-09-13 23:09:36 -07:00
parent 5bc35fa997
commit 87da82dd90
3 changed files with 4 additions and 2 deletions

View File

@@ -159,7 +159,7 @@ namespace NzbDrone.Common.Test.DiskProviderTests
TestLogger.Info("Path is: {0}", testFile);
Subject.WriteAllText(testFile, "");
Subject.WriteAllText(testFile, "Test");
Subject.GetLastFolderWrite(SandboxFolder).Should().BeOnOrAfter(DateTime.UtcNow.AddMinutes(-1));
Subject.GetLastFolderWrite(SandboxFolder).Should().BeBefore(DateTime.UtcNow);