still working to get the tests running in ie... stupid IE

This commit is contained in:
Spencer Alger
2013-12-23 17:31:37 -07:00
parent 2b3734a081
commit a77b2be1f2
7 changed files with 20 additions and 11 deletions

View File

@ -178,7 +178,7 @@ describe('Connection Pool', function () {
var pingQueue = _.shuffle(connections);
var expectedSelection = pingQueue[pingQueue.length - 1];
pingQueue.forEach(function (conn) {
_.each(pingQueue, function (conn) {
pool.addConnection(conn);
stub(conn, 'ping', function (params, cb) {
if (typeof params === 'function') {