Set configDirPath on ThemeManager in specs

This commit is contained in:
Kevin Sawicki
2013-11-11 11:47:24 -08:00
parent fb02917adf
commit 81c56ca4f1

View File

@@ -7,9 +7,10 @@ AtomPackage = require '../src/atom-package'
describe "ThemeManager", ->
themeManager = null
resourcePath = atom.getLoadSettings().resourcePath
configDirPath = atom.getConfigDirPath()
beforeEach ->
themeManager = new ThemeManager({packageManager: atom.packages, resourcePath})
themeManager = new ThemeManager({packageManager: atom.packages, resourcePath, configDirPath})
afterEach ->
themeManager.deactivateThemes()