Add another test to ensure removal from directories

This commit is contained in:
Mark McDowall 2014-03-26 16:49:31 -07:00
parent 47624ef704
commit 30894429f3
1 changed files with 7 additions and 1 deletions

View File

@ -106,7 +106,13 @@ namespace NzbDrone.Core.Test.RootFolderTests
{
Mocker.GetMock<IDiskProvider>()
.Setup(s => s.GetDirectories(It.IsAny<String>()))
.Returns(new string[] {@"C:\30 Rock".AsOsAgnostic(), @"C:\$Recycle.Bin".AsOsAgnostic(), @"C:\.AppleDouble".AsOsAgnostic()});
.Returns(new string[]
{
@"C:\30 Rock".AsOsAgnostic(),
@"C:\$Recycle.Bin".AsOsAgnostic(),
@"C:\.AppleDouble".AsOsAgnostic(),
@"C:\Test\.AppleDouble".AsOsAgnostic()
});
Mocker.GetMock<ISeriesService>()
.Setup(s => s.GetAllSeries())