1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-18 23:48:35 +02:00
Sonarr/src/NzbDrone.Integration.Test/IndexerIntegrationFixture.cs

21 lines
606 B
C#
Raw Normal View History

using System.Linq;
using FluentAssertions;
2013-05-03 08:24:52 +03:00
using NUnit.Framework;
using NzbDrone.Core.ThingiProvider;
2013-05-03 08:24:52 +03:00
namespace NzbDrone.Integration.Test
{
[TestFixture]
public class IndexerIntegrationFixture : IntegrationTest
{
[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.Enable);
2013-05-03 08:24:52 +03:00
}
}
}