1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

had descriptions of tests swapped around

This commit is contained in:
Benjamin Coe
2015-08-29 14:55:01 -07:00
parent ca0e7dd4e8
commit 417c8c1247

View File

@@ -42,15 +42,14 @@ describe("client authentication", function () {
}); });
if (ip === 'IPv4') { 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 = redis.createClient('redis://foo:' + auth + '@' + config.HOST[ip] + ':' + config.PORT);
client.on("ready", function () { 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, { var args = config.configureClient(parser, ip, {
auth_pass: auth auth_pass: auth
}); });