Fix localfilesystem_spec

This commit is contained in:
Nick O'Leary 2014-05-03 22:38:33 +01:00
parent 7eed375111
commit 5afc5857c4
1 changed files with 3 additions and 1 deletions

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;