Merge pull request #126 from ryanxcharles/feature/make-privatekey-tests-pass

make PrivateKey tests pass by updating length with new correct length
This commit is contained in:
Ryan X. Charles 2014-04-22 18:47:27 -03:00
commit b81053bfab

View file

@ -70,7 +70,7 @@ describe('PrivateKey model', function() {
it('should calculate .id', function () { it('should calculate .id', function () {
var w1 = new PrivateKey(config); var w1 = new PrivateKey(config);
should.exist(w1.getId()); should.exist(w1.getId());
w1.getId().length.should.equal(40); w1.getId().length.should.equal(32);
}); });
it('fromObj toObj roundtrip', function () { it('fromObj toObj roundtrip', function () {
var w1 = new PrivateKey(config); var w1 = new PrivateKey(config);