Added some tests for PagingSpecExtensions

Allow specials in missing
Dropped ListSortDirection
This commit is contained in:
Mark McDowall
2013-05-07 00:22:19 -07:00
parent d37c8c26c2
commit f4dd6adc6a
12 changed files with 131 additions and 92 deletions
@@ -46,7 +46,7 @@ namespace NzbDrone.Core.Test.TvTests.EpisodeRepositoryTests
Page = 1,
PageSize = 10,
SortKey = "AirDate",
SortDirection = ListSortDirection.Ascending
SortDirection = SortDirection.Ascending
}, false);
episodes.Records.Should().HaveCount(1);
}
@@ -61,7 +61,7 @@ namespace NzbDrone.Core.Test.TvTests.EpisodeRepositoryTests
Page = 1,
PageSize = 10,
SortKey = "AirDate",
SortDirection = ListSortDirection.Ascending
SortDirection = SortDirection.Ascending
}, true);
episodes.Records.Should().HaveCount(2);
}