@@ -6,11 +6,11 @@ var chai = require("chai"),
66 fs = require ( "fs" ) ,
77 chaiFiles = require ( "chai-files" ) ;
88
9- let testFile = fs . readFileSync ( "file .txt" , { encoding : "binary" } ) ;
10- let testFileEnc = fs . readFileSync ( "file .enc.txt" , { encoding : "binary" } ) ;
9+ let testFile = fs . readFileSync ( "file2 .txt" , { encoding : "binary" } ) ;
10+ let testFileEnc = fs . readFileSync ( "file2 .enc.txt" , { encoding : "binary" } ) ;
1111let testIv = forge . random . getBytesSync ( 16 ) ;
1212let testKey = forge . random . getBytesSync ( 32 ) ;
13- let testFileDec = fs . readFileSync ( "file .dec.txt" , { encoding : "binary" } ) ;
13+ let testFileDec = fs . readFileSync ( "file2 .dec.txt" , { encoding : "binary" } ) ;
1414
1515describe ( "fileencrypt forge Test runs" , function ( ) {
1616 it ( "calling function without iv, should throw an error" , function ( ) {
@@ -29,10 +29,10 @@ describe("fileencrypt forge Test runs", function() {
2929 . to . throw ( ) ;
3030 } ) ;
3131 it ( "running code, should create a file 'file.enc.txt'" , function ( ) {
32- chai . expect ( chaiFiles . file ( "file .enc.txt" ) ) . to . exist ;
32+ chai . expect ( chaiFiles . file ( "file2 .enc.txt" ) ) . to . exist ;
3333 } ) ;
3434 it ( "running code, should create a file 'file.dec.txt'" , function ( ) {
35- chai . expect ( chaiFiles . file ( "file .dec.txt" ) ) . to . exist ;
35+ chai . expect ( chaiFiles . file ( "file2 .dec.txt" ) ) . to . exist ;
3636 } ) ;
3737
3838 it ( "decrypted file should be equal to original file" , function ( ) {
0 commit comments