clear namespace when removing profile

This commit is contained in:
Ivan Socolsky 2014-12-10 10:49:25 -03:00
commit f5edb12d42
5 changed files with 35 additions and 10 deletions

View file

@ -63,7 +63,7 @@ describe('local storage plugin', function() {
it('#clear', function(done) {
storage.clear(function(err) {
assert(!err);
storageMock.clear.calledOnce.should.equal(true);
storageMock.clear.calledOnce.should.be.false;
return done();
});
});