Made free disk space non-existent folder should throw windows only

This commit is contained in:
Mark McDowall 2013-08-08 22:03:33 -07:00
parent 29c67ee312
commit 11a70a4a94
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ namespace NzbDrone.Core.Test.ProviderTests.DiskProviderTests
[Test]
public void should_throw_if_drive_doesnt_exist()
{
WindowsOnly();
Assert.Throws<DirectoryNotFoundException>(() => Subject.GetAvilableSpace(@"Z:\NOT_A_REAL_PATH\DOES_NOT_EXIST".AsOsAgnostic()));
}