Browse Source

Update invalid transaction test case

patch-2
MattFaus 11 years ago
parent
commit
07f49195ea
  1. 3
      test/test.Transaction.js

3
test/test.Transaction.js

@ -339,7 +339,8 @@ describe('Transaction', function() {
// ...by this function, so ignore if that is the case
if (err && err.constructor.name === "AssertionError") return;
should.exist(err);
// There should either be an error, or the results should be false.
(err !== null || (!err && results === false)).should.equal(true);
});
});
});

Loading…
Cancel
Save