var P = require('bluebird');
var spawn = require('child_process').spawn;
var redisSrv;
var port = exports.port = 8543;

exports.connect = function () {
  if (redisSrv) return P.resolve();

  redisSrv = spawn('redis-server', ['--port', port, '--loglevel', 'verbose'], { stdio: 'ignore' });
  return P.delay(1000);
};

exports.disconnect = function () {
  if (!redisSrv) return P.resolve();

  return new P(function (res) {
    redisSrv.kill();
    redisSrv.once('close', res);
    redisSrv = null;
  });
};

@@ -112,16 +112,84 @@
 = 8543;%0A
+var client = require('redis').createClient(process.env.REDIS_URL);%0A%0A
 %0Aexports

Update redis-server.js