added history integration test

This commit is contained in:
kay.one 2013-09-09 22:39:18 -07:00
commit 4ddc599668
5 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,21 @@
using FluentAssertions;
using NUnit.Framework;
namespace NzbDrone.Integration.Test
{
[TestFixture]
public class HistoryIntegrationTest : IntegrationTest
{
[Test]
public void history_should_be_empty()
{
var history = History.GetPaged(1,15,"date","desc");
history.Records.Count.Should().Be(0);
history.Page.Should().Be(1);
history.PageSize.Should().Be(15);
history.Records.Should().BeEmpty();
}
}
}