diff --git a/test/transaction.js b/test/transaction.js index d07061adb7..4e7c4baaaa 100644 --- a/test/transaction.js +++ b/test/transaction.js @@ -51,6 +51,14 @@ describe('Transaction', function() { }) }) + describe('toString', function() { + it('is just an alias for getId', function() { + var transaction = new Transaction() + + assert.equal(transaction.toString, transaction.getId) + }) + }) + describe('addInput', function() { // FIXME: not as pretty as could be // Probably a bit representative of the API