From a107fe21d7794373bbf60bd115dff24fd5c5f335 Mon Sep 17 00:00:00 2001 From: "David Humphrey (:humph) david.humphrey@senecacollege.ca" Date: Sat, 1 Dec 2018 22:15:46 -0500 Subject: [PATCH] Fix #337: Pick up sedge's changes from https://github.com/sedge/filer/commit/3c49743559ae32c2c72fbacfaea948fb7a520905 --- tests/spec/shell/env.spec.js | 2 +- tests/spec/shell/ls.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/spec/shell/env.spec.js b/tests/spec/shell/env.spec.js index 22a5e4a..bfabd86 100644 --- a/tests/spec/shell/env.spec.js +++ b/tests/spec/shell/env.spec.js @@ -35,7 +35,7 @@ describe('FileSystemShell.env', function() { var fs = util.fs(); var shell = new fs.Shell(); - shell.cat(null, function(error, list) { + shell.ls(null, function(error, list) { expect(error).to.exist; expect(error.code).to.equal('EINVAL'); expect(list).not.to.exist; diff --git a/tests/spec/shell/ls.spec.js b/tests/spec/shell/ls.spec.js index de8d6b9..44cb4a5 100644 --- a/tests/spec/shell/ls.spec.js +++ b/tests/spec/shell/ls.spec.js @@ -14,7 +14,7 @@ describe('FileSystemShell.ls', function() { var fs = util.fs(); var shell = new fs.Shell(); - shell.cat(null, function(error, list) { + shell.ls(null, function(error, list) { expect(error).to.exist; expect(error.code).to.equal('EINVAL'); expect(list).not.to.exist;