|
|
|
@ -53,7 +53,7 @@ namespace NzbDrone.Api.Test
|
|
|
|
|
[Test]
|
|
|
|
|
public void should_not_contain_recycling_bin_for_root_of_drive()
|
|
|
|
|
{
|
|
|
|
|
const string root = @"C:\";
|
|
|
|
|
string root = @"C:\".AsOsAgnostic();
|
|
|
|
|
SetupFolders(root);
|
|
|
|
|
|
|
|
|
|
Mocker.GetMock<IDiskProvider>()
|
|
|
|
@ -64,9 +64,9 @@ namespace NzbDrone.Api.Test
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void should_not_contain_system_volume_information_for_root_of_drive()
|
|
|
|
|
public void should_not_contain_system_volume_information()
|
|
|
|
|
{
|
|
|
|
|
const string root = @"C:\";
|
|
|
|
|
string root = @"C:\".AsOsAgnostic();
|
|
|
|
|
SetupFolders(root);
|
|
|
|
|
|
|
|
|
|
Mocker.GetMock<IDiskProvider>()
|
|
|
|
@ -79,7 +79,7 @@ namespace NzbDrone.Api.Test
|
|
|
|
|
[Test]
|
|
|
|
|
public void should_not_contain_recycling_bin_or_system_volume_information_for_root_of_drive()
|
|
|
|
|
{
|
|
|
|
|
const string root = @"C:\";
|
|
|
|
|
string root = @"C:\";
|
|
|
|
|
SetupFolders(root);
|
|
|
|
|
|
|
|
|
|
Mocker.GetMock<IDiskProvider>()
|
|
|
|
|