Test fixed

This commit is contained in:
Matias Pando 2014-10-09 11:18:00 -03:00
commit 1903885c9d

View file

@ -62,7 +62,10 @@ describe('Network / Async', function() {
it('should be able to broadcast', function() {
var n = createN('9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08');
var spy = sinon.spy();
n.send(null, 'hello', spy);
var dummy = {
dummy: true
};
n.send(null, dummy, spy);
spy.calledOnce.should.be.true;
});
it('should call _sendToOne for a copayer', function(done) {