You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System.Linq;
|
|
|
|
|
using FluentAssertions;
|
|
|
|
|
using NUnit.Framework;
|
|
|
|
|
using NzbDrone.Core.ThingiProvider;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Integration.Test.ApiTests
|
|
|
|
|
{
|
|
|
|
|
[TestFixture]
|
|
|
|
|
public class IndexerFixture : IntegrationTest
|
|
|
|
|
{
|
|
|
|
|
[Test]
|
|
|
|
|
[Ignore("Need mock Newznab to test")]
|
|
|
|
|
public void should_have_built_in_indexer()
|
|
|
|
|
{
|
|
|
|
|
var indexers = Indexers.All();
|
|
|
|
|
|
|
|
|
|
indexers.Should().NotBeEmpty();
|
|
|
|
|
indexers.Should().NotContain(c => string.IsNullOrWhiteSpace(c.Name));
|
|
|
|
|
indexers.Where(c => c.ConfigContract == typeof(NullConfig).Name).Should().OnlyContain(c => c.EnableRss);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|