Skip to content

Commit 417c8c1

Browse files
author
Benjamin Coe
committed
had descriptions of tests swapped around
1 parent ca0e7dd commit 417c8c1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/auth.spec.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,14 @@ describe("client authentication", function () {
4242
});
4343

4444
if (ip === 'IPv4') {
45-
it('allows auth to be provided as config option for client', function (done) {
45+
it('allows auth to be provided as part of redis url', function (done) {
4646
client = redis.createClient('redis://foo:' + auth + '@' + config.HOST[ip] + ':' + config.PORT);
4747
client.on("ready", function () {
48-
return done();
49-
});
48+
return done() });
5049
});
5150
}
5251

53-
it('allows auth to be provided as part of redis url', function (done) {
52+
it('allows auth to be provided as config option for client', function (done) {
5453
var args = config.configureClient(parser, ip, {
5554
auth_pass: auth
5655
});

0 commit comments

Comments
 (0)