fixed unit test file path generation to be linux compatible.

This commit is contained in:
Keivan Beigi 2013-03-28 12:05:43 -07:00
commit b73485a58b
10 changed files with 51 additions and 47 deletions

View file

@ -32,7 +32,7 @@ namespace NzbDrone.Core.Test.ProviderTests
{
Mocker.GetMock<HttpProvider>()
.Setup(s => s.DownloadString(SceneMappingUrl))
.Returns(File.ReadAllText(@".\Files\SceneMappings.json"));
.Returns(ReadAllText("Files", "SceneMappings.json"));
}
private void WithErrorDownloadingJson()