check if there is not profile, to redir
This commit is contained in:
parent
bdaf40de48
commit
b03a3f1391
9 changed files with 52 additions and 28 deletions
|
|
@ -128,7 +128,7 @@ describe('Profile model', function() {
|
|||
p.addWallet('345', {}, function(err) {
|
||||
_.pluck(p.listWallets(), 'id').sort().should.deep.equal(['123', '234', '345']);
|
||||
p.deleteWallet('234', function(err) {
|
||||
_.pluck(p.listWallets(), 'id').should.deep.equal(['123', '345']);
|
||||
_.pluck(p.listWallets(), 'id').sort().should.deep.equal(['123', '345']);
|
||||
done();
|
||||
});
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue