@@ -160,7 +160,7 @@ describe('client authentication', function () {
160160 client . on ( 'ready' , done ) ;
161161 } ) ;
162162
163- it ( 'reconnects with appropriate authentication' , function ( done ) {
163+ it ( 'reconnects with appropriate authentication while offline commands are present ' , function ( done ) {
164164 if ( helper . redisProcess ( ) . spawnFailed ( ) ) this . skip ( ) ;
165165
166166 client = redis . createClient . apply ( null , args ) ;
@@ -187,7 +187,7 @@ describe('client authentication', function () {
187187 } ) ;
188188 } ) ;
189189
190- it ( 'should return an error if the password is not of type string and a callback has been provided' , function ( done ) {
190+ it ( 'should return an error if the password is not correct and a callback has been provided' , function ( done ) {
191191 if ( helper . redisProcess ( ) . spawnFailed ( ) ) this . skip ( ) ;
192192
193193 client = redis . createClient . apply ( null , args ) ;
@@ -202,7 +202,7 @@ describe('client authentication', function () {
202202 assert ( async ) ;
203203 } ) ;
204204
205- it ( 'should emit an error if the password is not of type string and no callback has been provided' , function ( done ) {
205+ it ( 'should emit an error if the password is not correct and no callback has been provided' , function ( done ) {
206206 if ( helper . redisProcess ( ) . spawnFailed ( ) ) this . skip ( ) ;
207207
208208 client = redis . createClient . apply ( null , args ) ;
0 commit comments