From 399c4f9f950bc9d1966dfa2634677f1f31d6fff0 Mon Sep 17 00:00:00 2001 From: probablycorey Date: Wed, 22 Jan 2014 15:54:49 -0800 Subject: [PATCH] Fix spelling error --- spec/command-installer-spec.coffee | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spec/command-installer-spec.coffee b/spec/command-installer-spec.coffee index bf40996b5..6bd66b4d3 100644 --- a/spec/command-installer-spec.coffee +++ b/spec/command-installer-spec.coffee @@ -6,17 +6,17 @@ installer = require '../src/command-installer' describe "install(commandPath, callback)", -> commandFilePath = temp.openSync("atom-command").path commandName = path.basename(commandFilePath) - instalationPath = temp.mkdirSync("atom-bin") - instalationFilePath = path.join(instalationPath, commandName) + installationPath = temp.mkdirSync("atom-bin") + installationFilePath = path.join(installationPath, commandName) beforeEach -> - spyOn(installer, 'getInstallDirectory').andReturn instalationPath + 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(instalationFilePath)).toBeFalsy() + expect(fs.isFileSync(installationFilePath)).toBeFalsy() installDone = false installError = null @@ -29,6 +29,6 @@ describe "install(commandPath, callback)", -> runs -> expect(installError).toBeNull() - expect(fs.isFileSync(instalationFilePath)).toBeTruthy() - expect(fs.realpathSync(instalationFilePath)).toBe fs.realpathSync(commandFilePath) - expect(fs.isExecutableSync(instalationFilePath)).toBeTruthy() + expect(fs.isFileSync(installationFilePath)).toBeTruthy() + expect(fs.realpathSync(installationFilePath)).toBe fs.realpathSync(commandFilePath) + expect(fs.isExecutableSync(installationFilePath)).toBeTruthy()