Add makerExchangeRate (quality) to orders, and maker to account orders

This commit is contained in:
Chris Clark
2015-07-07 14:39:28 -07:00
parent 73020fb8ae
commit 1309b58592
9 changed files with 132 additions and 52 deletions

View File

@@ -28,7 +28,7 @@ const trustlinesResponse = require('./fixtures/trustlines-response');
const walletResponse = require('./fixtures/wallet.json');
const getSettingsResponse = require('./fixtures/get-settings-response');
const getOrdersResponse = require('./fixtures/get-orders-response');
const getOrderBookResponse = require('./fixtures/get-orderbook-response');
const getOrderbookResponse = require('./fixtures/get-orderbook-response');
const getServerInfoResponse = require('./fixtures/get-server-info-response');
const getPathFindResponse = require('./fixtures/get-pathfind-response');
const address = addresses.ACCOUNT;
@@ -142,7 +142,7 @@ describe('RippleAPI', function() {
_.partial(checkResult, getOrdersResponse, done));
});
it('getOrderBook', function(done) {
it('getOrderbook', function(done) {
const orderbook = {
base: {
currency: 'USD',
@@ -153,8 +153,8 @@ describe('RippleAPI', function() {
counterparty: 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B'
}
};
this.api.getOrderBook(address, orderbook, {},
_.partial(checkResult, getOrderBookResponse, done));
this.api.getOrderbook(address, orderbook, {},
_.partial(checkResult, getOrderbookResponse, done));
});
it('getServerInfo', function(done) {