Permalink
Browse files

changed flushComplete to flush

  • Loading branch information...
1 parent 671d2fe commit 15912c22c44b4c5532a46e976e17cb6ca8390dbb @albertyfwu albertyfwu committed Mar 18, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/server.js
View
@@ -935,7 +935,7 @@ describe('server', function () {
}
// 2 and 3 will be in the same payload
- socket.once('flushComplete', function() {
+ socket.once('flush', function() {
socket.send(2, function() { cb(2); });
socket.send(3, function() { cb(3); });
});
@@ -972,7 +972,7 @@ describe('server', function () {
}
// 2 and 3 will be in the same payload
- socket.once('flushComplete', function() {
+ socket.once('flush', function() {
socket.send(2, function() { cb(2); });
socket.send(3, function() { cb(3); });
});

0 comments on commit 15912c2

Please sign in to comment.