sonarr-repo-only/NzbDrone.Integration.Test/HistoryIntegrationTest.cs

21 lines
513 B
C#
Raw Normal View History

2013-09-12 22:42:01 +00:00
using FluentAssertions;
2013-09-10 05:39:18 +00:00
using NUnit.Framework;
namespace NzbDrone.Integration.Test
{
[TestFixture]
public class HistoryIntegrationTest : IntegrationTest
{
[Test]
public void history_should_be_empty()
{
2013-09-10 07:01:27 +00:00
var history = History.GetPaged(1, 15, "date", "desc");
2013-09-10 05:39:18 +00:00
history.Records.Count.Should().Be(0);
history.Page.Should().Be(1);
history.PageSize.Should().Be(15);
history.Records.Should().BeEmpty();
}
}
}