1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix localfilesystem_spec

This commit is contained in:
Nick O'Leary 2014-05-03 22:38:33 +01:00
parent 7eed375111
commit 5afc5857c4

View File

@ -99,9 +99,11 @@ describe('LocalFileSystem', function() {
});
it('should handle credentials', function(done) {
var flowFile = 'test.json';
var flowFilePath = path.join(userDir,flowFile);
var credFile = path.join(userDir,"test_cred.json");
localfilesystem.init({userDir:userDir}).then(function() {
localfilesystem.init({userDir:userDir, flowFile:flowFilePath}).then(function() {
fs.existsSync(credFile).should.be.false;