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(' ')); });