Skip to content

Commit

Permalink
Fixes event filtering callbacks.
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallswain committed Feb 17, 2015
1 parent 14ec81f commit 0ff943c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/providers/primus.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ describe('Primus provider', function () {
return callback(null, data);
}

callback();
callback(null, false);
};

socket.send('todo::remove', 1, {}, function() {});
Expand Down Expand Up @@ -432,7 +432,7 @@ describe('Primus provider', function () {
return callback(null, data);
}

callback();
callback(null, false);
};

socket.send('tasks::remove', 1, {}, function() {});
Expand Down
4 changes: 2 additions & 2 deletions test/providers/socketio.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ describe('SocketIO provider', function () {
return callback(null, data);
}

callback();
callback(null, false);
};

socket.emit('todo::remove', 1, {}, function() {});
Expand Down Expand Up @@ -431,7 +431,7 @@ describe('SocketIO provider', function () {
return callback(null, data);
}

callback();
callback(null, false);
};

socket.emit('tasks::remove', 1, {}, function() {});
Expand Down

0 comments on commit 0ff943c

Please sign in to comment.