From 00e2f225f8c736d2c912244e78bd73c6e661770a Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Fri, 15 Feb 2013 20:17:23 -0800 Subject: [PATCH] added new test. --- NzbDrone.Core.Test/Datastore/ObjectDatabaseFixture.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/NzbDrone.Core.Test/Datastore/ObjectDatabaseFixture.cs b/NzbDrone.Core.Test/Datastore/ObjectDatabaseFixture.cs index fc460629f..67dde8013 100644 --- a/NzbDrone.Core.Test/Datastore/ObjectDatabaseFixture.cs +++ b/NzbDrone.Core.Test/Datastore/ObjectDatabaseFixture.cs @@ -56,6 +56,15 @@ namespace NzbDrone.Core.Test.Datastore Assert.Throws(() => Db.Update(testSeries)); } + + [Test] + public void should_be_able_to_store_empty_list() + { + var series = new List(); + + Db.InsertMany(series); + } + [Test] public void should_not_store_dirty_data_in_cache() {