Mock pollRate instead

This commit is contained in:
Maciej Małecki 2014-04-15 19:24:36 +02:00
parent 34fb7e7daf
commit 1900d74287

View file

@ -24,7 +24,7 @@ describe('trader/send', function () {
}
};
trader.tickerExchange = { ticker: function () { } };
trader.pollRate = function () {};
it('should call `sendBitcoins` on the transfer exchange', function (done) {
var address = '1LhkU2R8nJaU8Zj6jB8VjWrMpvVKGqCZ64';