From 498e76cf9db54d5868c8025b804938223c5d2b4c Mon Sep 17 00:00:00 2001 From: azou1 Date: Wed, 19 Sep 2018 17:22:51 -0400 Subject: [PATCH] issue-410 test fs.rename() errors when file/directory to rename doesnt exist --- tests/spec/fs.rename.spec.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/spec/fs.rename.spec.js b/tests/spec/fs.rename.spec.js index ce4ad31..5730b95 100644 --- a/tests/spec/fs.rename.spec.js +++ b/tests/spec/fs.rename.spec.js @@ -71,11 +71,9 @@ describe('fs.rename', function() { }); it('should return error if the file or directory to rename doesnt exist', function(done) { var fs = util.fs(); - fs.rename('/fakeDirectory', '/myotherdir', function(error) { expect(error).to.exist; done(); - }); });