[Persistence] Don't evict models on persist

https://github.com/nasa/openmct/issues/745#issuecomment-204559209
This commit is contained in:
Victor Woeltjen
2016-04-01 13:37:21 -07:00
parent 5b98da6681
commit da09ffd3fa
2 changed files with 1 additions and 8 deletions

View File

@@ -176,12 +176,8 @@ define(
expect(mockQ.reject).not.toHaveBeenCalled();
expect(mockNofificationService.error).not.toHaveBeenCalled();
});
it("removes the model from the cache", function () {
persistence.persist();
expect(mockCacheService.remove).toHaveBeenCalledWith(id);
});
});
describe("unsuccessful persistence", function() {
var sadPromise = {
then: function(callback){