@@ -12,10 +12,10 @@ describe("Clone", function() {
1212
1313 var clonePath = local ( "../repos/clone" ) ;
1414
15- var sshPublicKey = local ( "../id_rsa.pub" ) ;
16- var sshPrivateKey = local ( "../id_rsa" ) ;
17- var sshEncryptedPublicKey = local ( "../encrypted_rsa.pub" ) ;
18- var sshEncryptedPrivateKey = local ( "../encrypted_rsa" ) ;
15+ var sshPublicKeyPath = local ( "../id_rsa.pub" ) ;
16+ var sshPrivateKeyPath = local ( "../id_rsa" ) ;
17+ var sshEncryptedPublicKeyPath = local ( "../encrypted_rsa.pub" ) ;
18+ var sshEncryptedPrivateKeyPath = local ( "../encrypted_rsa" ) ;
1919
2020 // Set a reasonable timeout here now that our repository has grown.
2121 this . timeout ( 30000 ) ;
@@ -219,8 +219,8 @@ describe("Clone", function() {
219219 credentials : function ( url , userName ) {
220220 return NodeGit . Cred . sshKeyNew (
221221 userName ,
222- sshPublicKey ,
223- sshPrivateKey ,
222+ sshPublicKeyPath ,
223+ sshPrivateKeyPath ,
224224 "" ) ;
225225 }
226226 }
@@ -245,8 +245,8 @@ describe("Clone", function() {
245245 credentials : function ( url , userName ) {
246246 return NodeGit . Cred . sshKeyNew (
247247 userName ,
248- sshEncryptedPublicKey ,
249- sshEncryptedPrivateKey ,
248+ sshEncryptedPublicKeyPath ,
249+ sshEncryptedPrivateKeyPath ,
250250 "test-password"
251251 ) ;
252252 }
0 commit comments