From 8f26feadb5db7ef15b62cfdeaecfe961fe183174 Mon Sep 17 00:00:00 2001 From: probablycorey Date: Fri, 14 Feb 2014 17:53:31 -0800 Subject: [PATCH] Assume cli files are executable --- spec/command-installer-spec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/command-installer-spec.coffee b/spec/command-installer-spec.coffee index a597f919d..e0624b6d3 100644 --- a/spec/command-installer-spec.coffee +++ b/spec/command-installer-spec.coffee @@ -10,12 +10,12 @@ describe "install(commandPath, callback)", -> installationFilePath = path.join(installationPath, commandName) beforeEach -> + fs.chmodSync(commandFilePath, '755') spyOn(installer, 'getInstallDirectory').andReturn installationPath describe "on #darwin", -> it "symlinks the command and makes it executable", -> expect(fs.isFileSync(commandFilePath)).toBeTruthy() - expect(fs.isExecutableSync(commandFilePath)).toBeFalsy() expect(fs.isFileSync(installationFilePath)).toBeFalsy() installDone = false