Better test naming

pull/2/head
Louis Chatriot 11 years ago
parent 403fb6a50e
commit f442b69b60
  1. 2
      test/persistence.test.js

@ -328,7 +328,7 @@ describe('Persistence', function () {
}); });
}); });
it('If both old and current datafiles exist, ensureDatafileIntegrity will use the datafile, it means step 1 of persistence failed', function (done) { it('If both old and current datafiles exist, ensureDatafileIntegrity will use the datafile, it means step 4 of persistence failed', function (done) {
var theDb = new Datastore({ filename: 'workspace/it.db' }); var theDb = new Datastore({ filename: 'workspace/it.db' });
if (fs.existsSync('workspace/it.db')) { fs.unlinkSync('workspace/it.db'); } if (fs.existsSync('workspace/it.db')) { fs.unlinkSync('workspace/it.db'); }

Loading…
Cancel
Save