From e2a92bd5b9fd338f5f1e67d0113c5d620068f5dc Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Fri, 17 Jun 2016 11:10:56 -0300 Subject: [PATCH] fix tests --- test/controllers/backup.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/controllers/backup.test.js b/test/controllers/backup.test.js index d1417e126..29c2a3f71 100644 --- a/test/controllers/backup.test.js +++ b/test/controllers/backup.test.js @@ -18,6 +18,7 @@ describe('Backup Controller', function() { }); it('should set the mnemonic incomplete wallets', function(done) { + scope.initFlow(); should.exist(scope.mnemonicWords); scope.mnemonicWords.should.deep.equal('dizzy cycle skirt decrease exotic fork sure mixture hair vapor copper hero'.split(' ')); done(); @@ -36,6 +37,7 @@ describe('Backup Controller', function() { }); it('should not set the mnemonic for complete wallets', function() { + scope.initFlow(); scope.mnemonicWords.should.deep.equal('cheese where alarm job conduct donkey license pave congress pepper fence current'.split(' ')); });