Set themes names at beginning of spec

This commit is contained in:
Kevin Sawicki 2015-03-16 15:11:12 -07:00
parent d61ceacc26
commit 46e881739c

View File

@ -129,6 +129,7 @@ describe "ThemeManager", ->
expect(importPaths[0]).toContain 'atom-dark-ui'
it 'adds theme-* classes to the workspace for each active theme', ->
atom.config.set('core.themes', ['atom-dark-ui', 'atom-dark-syntax'])
workspaceElement = atom.views.getView(atom.workspace)
themeManager.onDidChangeActiveThemes didChangeActiveThemesHandler = jasmine.createSpy()