Fixed: Skip last write time check on linux for _UNPACK_ folders

This commit is contained in:
Mark McDowall
2013-10-22 17:42:43 -07:00
parent 743754a041
commit 46bd5d1767
2 changed files with 18 additions and 0 deletions
@@ -68,5 +68,16 @@ namespace NzbDrone.Core.Test.MediaFiles.EpisodeImport.Specifications
Subject.IsSatisfiedBy(_localEpisode).Should().BeFalse();
}
[Test]
public void should_return_false_if_unopacking_on_linux()
{
LinuxOnly();
GivenInWorkingFolder();
GivenLastWriteTimeUtc(DateTime.UtcNow.AddDays(-5));
Subject.IsSatisfiedBy(_localEpisode).Should().BeFalse();
}
}
}