From 017c3315d2f44785239864def0aa30346e80a414 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 21 Oct 2013 22:23:22 +0800 Subject: [PATCH] :lipstick: Fix typos in specs. --- spec/command-installer-spec.coffee | 1 + spec/config-spec.coffee | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/command-installer-spec.coffee b/spec/command-installer-spec.coffee index 6c39aa620..52bbb6ad5 100644 --- a/spec/command-installer-spec.coffee +++ b/spec/command-installer-spec.coffee @@ -1,4 +1,5 @@ {fs} = require 'atom' +path = require 'path' temp = require 'temp' installer = require '../src/command-installer' diff --git a/spec/config-spec.coffee b/spec/config-spec.coffee index e751be009..277a8a2d3 100644 --- a/spec/config-spec.coffee +++ b/spec/config-spec.coffee @@ -225,7 +225,7 @@ describe "Config", -> updatedHandler = null beforeEach -> - config.configDirPath = 'dotAtomPath' + config.configDirPath = dotAtomPath config.configFilePath = path.join(config.configDirPath, "config.cson") expect(fs.exists(config.configDirPath)).toBeFalsy() fs.writeSync(config.configFilePath, "foo: bar: 'baz'")