added new test.

This commit is contained in:
kay.one 2013-02-15 20:17:23 -08:00
parent 1adc2892db
commit 00e2f225f8
1 changed files with 9 additions and 0 deletions

View File

@ -56,6 +56,15 @@ namespace NzbDrone.Core.Test.Datastore
Assert.Throws<InvalidOperationException>(() => Db.Update(testSeries));
}
[Test]
public void should_be_able_to_store_empty_list()
{
var series = new List<Series>();
Db.InsertMany(series);
}
[Test]
public void should_not_store_dirty_data_in_cache()
{