bitpay/copay — pull request #836 by ryanxcharles (2014-07-07 17:42:29+00:00)
Title: fix mocha node tests / update to bitcore v0.1.25

There was a weird problem with bitcore 0.1.24. Somehow, the npm version and bower versions were not the same. In the node version, if you installed from scratch, you would see that the Wallet test was trying to use the scriptForAddress function, which has moved to address.getAddressPubKey. However, that change did not exist in the bower package (even though both npm and bower were at 0.1.24). It's possible in the last time I published to npm, I used the wrong commit. I have fixed this by updating both the npm and bower packages to 0.1.25, and also updating copay to use the new 0.1.25.

On Copay master, the mocha tests are broken (which you will notice if you do a clean install), but the mocha browser tests work. With this PR, they both work.