Use resource path from load settings

This commit is contained in:
Kevin Sawicki
2013-10-14 17:58:53 -07:00
parent 33cb42a3f7
commit d0e1d32ae9

View File

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