securely store encryptation passwords

This commit is contained in:
Manuel Araoz 2014-04-15 19:14:42 -03:00
commit 929c6ffa6d
2 changed files with 6 additions and 4 deletions

View file

@ -16,7 +16,7 @@ if (typeof process === 'undefined' || !process.version) {
var s = new Encrypted();
should.exist(s);
});
it.skip('should fail when encrypting without a password', function() {
it('should fail when encrypting without a password', function() {
var s = new Encrypted();
(function(){s.set(wid, 'x', 1);}).should.throw();
});