mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Assume cli files are executable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user