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'")