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;