From 417c8c124771fc15dad501163fa9326aaa8500a9 Mon Sep 17 00:00:00 2001 From: Benjamin Coe Date: Sat, 29 Aug 2015 14:55:01 -0700 Subject: [PATCH] had descriptions of tests swapped around --- test/auth.spec.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 });