Karma test for send Controller. Added another test for check handle of addressBook.

This commit is contained in:
Gustavo Cortez 2014-06-19 14:21:38 -03:00
commit 8398d8b663
3 changed files with 85 additions and 4 deletions

View file

@ -6,6 +6,13 @@ var FakeWallet = function() {
'1CjPR7Z5ZSyWk6WtXvSFgkptmpoi4UM9BC': 1000
};
this.name = 'myTESTwullet';
this.addressBook = {
'2NFR2kzH9NUdp8vsXTB4wWQtTtzhpKxsyoJ' : {
label: 'John',
copayerId: '026a55261b7c898fff760ebe14fd22a71892295f3b49e0ca66727bc0a0d7f94d03',
createdTs: 1403102115,
}
};
};
FakeWallet.prototype.set = function(balance, safeBalance, balanceByAddr) {