From 5a3134212c40f542d1c16e390ce7c487d2f5072e Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Tue, 2 Sep 2014 14:44:10 -0300 Subject: [PATCH] fix passphrase test --- test/test.Passphrase.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test.Passphrase.js b/test/test.Passphrase.js index 54e61726b..75074108b 100644 --- a/test/test.Passphrase.js +++ b/test/test.Passphrase.js @@ -18,7 +18,7 @@ describe('Passphrase model', function() { should.exist(p); }); - it('should generate key from password', function () { + it('should generate key from password', function (done) { var p = new Passphrase({ salt: 'mjuBtGybi/4=', iterations: 10, @@ -33,6 +33,7 @@ describe('Passphrase model', function() { p.getBase64Async(pass, function (ret) { ret.toString().should.equal('IoP+EbmhibgvHAkgCAaSDL3Y73UvU96pEPkKtSb0Qazb1RKFVWR6fjkKGp/qBCImljzND3hRAws9bigszrqhfg=='); + done(); }); });