From 511e365ccb457d17e5c8d19cedc705440696546e Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sat, 31 Aug 2013 22:30:21 -0700 Subject: [PATCH] updated free space test. --- NzbDrone.Common.Test/DiskProviderTests/IsParentFixture.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/NzbDrone.Common.Test/DiskProviderTests/IsParentFixture.cs b/NzbDrone.Common.Test/DiskProviderTests/IsParentFixture.cs index e18720eb3..b29f60180 100644 --- a/NzbDrone.Common.Test/DiskProviderTests/IsParentFixture.cs +++ b/NzbDrone.Common.Test/DiskProviderTests/IsParentFixture.cs @@ -34,11 +34,10 @@ namespace NzbDrone.Common.Test.DiskProviderTests } [Test] - public void should_return_null_when_cant_get_free_space() + public void should_be_able_to_check_space_on_ramdrive() { LinuxOnly(); - - Subject.GetAvailableSpace("/run/").Should().NotBe(null); + Subject.GetAvailableSpace("/run/").Should().NotBe(0); } } }