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
parent 4ac2997d78
commit b73485a58b
10 changed files with 51 additions and 47 deletions

View File

@@ -26,6 +26,11 @@ namespace NzbDrone.Core.Test.Framework
{
return File.OpenRead(Path.Combine(path));
}
protected string ReadAllText(params string[] path)
{
return ReadAllText(Path.Combine(path));
}
}
public abstract class CoreTest<TSubject> : CoreTest where TSubject : class