Added tests and refactored TorrentRss code.

This commit is contained in:
Taloth Saldono
2015-05-14 22:57:45 +02:00
parent 9d7522cc15
commit ba2da07c2f
71 changed files with 1188 additions and 5435 deletions
@@ -27,7 +27,7 @@ namespace NzbDrone.Core.Test.IndexerTests.NyaaTests
[Test]
public void should_parse_recent_feed_from_Nyaa()
{
var recentFeed = ReadAllText(@"Files/RSS/Nyaa.xml");
var recentFeed = ReadAllText(@"Files/Indexers/Nyaa/Nyaa.xml");
Mocker.GetMock<IHttpClient>()
.Setup(o => o.Execute(It.Is<HttpRequest>(v => v.Method == HttpMethod.GET)))