diff options
Diffstat (limited to 'tests/lib/mocha-3.1.0/test/acceptance/fs.spec.js')
-rw-r--r-- | tests/lib/mocha-3.1.0/test/acceptance/fs.spec.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/lib/mocha-3.1.0/test/acceptance/fs.spec.js b/tests/lib/mocha-3.1.0/test/acceptance/fs.spec.js deleted file mode 100644 index 3a70f2752c..0000000000 --- a/tests/lib/mocha-3.1.0/test/acceptance/fs.spec.js +++ /dev/null @@ -1,20 +0,0 @@ -var fs = require('fs'); -var path = require('path'); -var os = require('os'); -var tmpFile = path.join.bind(path, os.tmpdir()); - -describe('fs.readFile()', function(){ - describe('when the file exists', function(){ - it('should succeed', function(done){ - fs.writeFile(tmpFile('mocha'), 'wahoo', done) - }) - }) - - describe('when the file does not exist', function(){ - it('should fail', function(done){ - // uncomment - // fs.readFile(tmpFile('does-not-exist'), done); - done(); - }) - }) -}) |