PluginManager coverage tests.

This commit is contained in:
ssotomayor 2014-10-20 12:55:18 -03:00 committed by Matias Alejo Garcia
commit f5e0dfa58d
3 changed files with 20 additions and 1 deletions

View file

@ -2,7 +2,12 @@
function FakeLocalStorage() {
this.ls = {};
this.type = 'DB';
};
FakeLocalStorage.prototype.init = function() {
};
FakeLocalStorage.prototype.removeItem = function(key, cb) {
delete this.ls[key];
cb();