improved Linux support for tests.

This commit is contained in:
Keivan Beigi 2013-04-29 17:04:14 -07:00
parent 660185640d
commit 3162e4864d
20 changed files with 178 additions and 149 deletions

View file

@ -70,7 +70,7 @@ namespace NzbDrone.Core.Test.MediaFileTests
var episodeFile = Builder<EpisodeFile>.CreateNew()
.With(f => f.Id = 0)
.With(f => f.Path = path.NormalizePath())
.With(f => f.Path = path.CleanPath())
.Build();
Subject.Insert(episodeFile);
@ -79,7 +79,7 @@ namespace NzbDrone.Core.Test.MediaFileTests
//Resolve
file.Should().NotBeNull();
file.Path.Should().Be(path.NormalizePath());
file.Path.Should().Be(path.CleanPath());
}
}
}