diff --git a/test/auth.spec.js b/test/auth.spec.js index 1854a84744..000bb81a66 100644 --- a/test/auth.spec.js +++ b/test/auth.spec.js @@ -42,15 +42,14 @@ describe("client authentication", function () { }); if (ip === 'IPv4') { - it('allows auth to be provided as config option for client', function (done) { + it('allows auth to be provided as part of redis url', function (done) { client = redis.createClient('redis://foo:' + auth + '@' + config.HOST[ip] + ':' + config.PORT); client.on("ready", function () { - return done(); - }); + return done() }); }); } - it('allows auth to be provided as part of redis url', function (done) { + it('allows auth to be provided as config option for client', function (done) { var args = config.configureClient(parser, ip, { auth_pass: auth });