Reload instead of unload in afterEach

This ensures the stylesheets with the fixtures variables
are unloaded and the default ones are reloaded.
This commit is contained in:
Kevin Sawicki
2013-09-04 13:32:45 -07:00
parent 3a5ad9b48d
commit 5852238cd8

View File

@@ -18,7 +18,7 @@ describe "the `atom` global", ->
afterEach ->
atom.themes.unload()
atom.unloadBaseStylesheets()
atom.reloadBaseStylesheets()
it "loads the correct values from the theme's ui-variables file", ->
config.set('core.themes', [project.resolve('themes/theme-with-ui-variables')])