Skip to content

Commit

Permalink
Fix unit tests for pubsub to not log a warning each time
Browse files Browse the repository at this point in the history
  • Loading branch information
maritz committed Jun 25, 2012
1 parent f0bfe3d commit 67692b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/pubsub/child.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ var nohm = require(__dirname+'/../../lib/nohm').Nohm;
var args = require(__dirname+'/../testArgs.js');

nohm.setPrefix(args.prefix);
nohm.setClient(args.redis);
args.redis.on('ready', function () {
nohm.setClient(args.redis);
});
require(__dirname+'/Model.js');

process.on('message', function (msg) {
Expand Down

0 comments on commit 67692b2

Please sign in to comment.