cleaned up some tests.

This commit is contained in:
Keivan Beigi 2013-03-04 17:47:51 -08:00
commit 35cb7e55c7
9 changed files with 116 additions and 218 deletions

View file

@ -119,7 +119,8 @@ namespace NzbDrone.Core.Datastore
public void UpdateField<T>(T model, string fieldName) where T : ModelBase
{
_db.UpdateObjectBy(model, fieldName);
_db.StoreObjectPartially(model, fieldName);
}
private IList<T> DoMany<T>(IEnumerable<T> objects, Func<T, T> function) where T : ModelBase