rename metaData to meta on getLedger

This commit is contained in:
Matthew Fettig
2015-10-21 10:00:07 -07:00
parent 98422e4153
commit aeb56dee17
7 changed files with 110 additions and 2 deletions

View File

@@ -702,6 +702,16 @@ describe('RippleAPI', function() {
_.partial(checkResult, responses.getLedger.header, 'getLedger'));
});
it('getLedger - with settings transaction', function() {
const request = {
includeTransactions: true,
includeAllData: true,
ledgerVersion: 4181996
};
return this.api.getLedger(request).then(
_.partial(checkResult, responses.getLedger.withSettingsTx, 'getLedger'));
});
it('getLedger - full, then computeLedgerHash', function() {
const request = {
includeTransactions: true,