created generic provider factory

This commit is contained in:
kay.one
2013-09-21 22:20:26 -07:00
committed by kayone
parent 0b179a6086
commit 9dbfc6804f
21 changed files with 227 additions and 308 deletions
@@ -57,10 +57,8 @@ namespace NzbDrone.Core.Test.IndexerTests
var indexers = Subject.All().ToList();
indexers.Should().NotBeEmpty();
indexers.Should().NotContain(c => c.Settings == null);
indexers.Should().NotContain(c => c.Instance == null);
indexers.Should().NotContain(c => c.Name == null);
indexers.Select(c => c.Name).Should().OnlyHaveUniqueItems();
indexers.Select(c => c.Instance).Should().OnlyHaveUniqueItems();
}