mirror of https://github.com/BTCPrivate/copay.git
fix tests
This commit is contained in:
parent
b4a5c9212f
commit
e2a92bd5b9
|
@ -18,6 +18,7 @@ describe('Backup Controller', function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should set the mnemonic incomplete wallets', function(done) {
|
it('should set the mnemonic incomplete wallets', function(done) {
|
||||||
|
scope.initFlow();
|
||||||
should.exist(scope.mnemonicWords);
|
should.exist(scope.mnemonicWords);
|
||||||
scope.mnemonicWords.should.deep.equal('dizzy cycle skirt decrease exotic fork sure mixture hair vapor copper hero'.split(' '));
|
scope.mnemonicWords.should.deep.equal('dizzy cycle skirt decrease exotic fork sure mixture hair vapor copper hero'.split(' '));
|
||||||
done();
|
done();
|
||||||
|
@ -36,6 +37,7 @@ describe('Backup Controller', function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should not set the mnemonic for complete wallets', 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(' '));
|
scope.mnemonicWords.should.deep.equal('cheese where alarm job conduct donkey license pave congress pepper fence current'.split(' '));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue