1. Add TxProposals to mocha test page

2. The jshint tool found some instances where var was declared twice within a function. Seemed to originate from copy/paste-style coding. Most were unambiguously intended for a single block within the function. In a few cases, two declarations were consumed by one later reference. In those cases, I removed the duplicate var or I refactored slightly.
This commit is contained in:
Gregg Zigler 2014-08-06 17:07:01 -04:00
commit c8c7a57416
6 changed files with 16 additions and 12 deletions

View file

@ -298,7 +298,7 @@ describe('WalletFactory model', function() {
var w = wf.create({
name: 'test wallet'
});
var ws = wf.getWallets();
ws = wf.getWallets();
ws.length.should.equal(1);
ws[0].name.should.equal('test wallet');
});