Assume cli files are executable

This commit is contained in:
probablycorey
2014-02-14 17:53:31 -08:00
parent 760d8c60ad
commit 8f26feadb5

View File

@@ -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