From 3a5ad9b48da417f163597abdd358f4fbe4a1700c Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 4 Sep 2013 12:56:54 -0700 Subject: [PATCH] Unload base stylesheets in an after each This prevents the blue background from bleeding over into other specs. --- spec/atom-spec.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/atom-spec.coffee b/spec/atom-spec.coffee index 74a93a975..3f9a9a2fb 100644 --- a/spec/atom-spec.coffee +++ b/spec/atom-spec.coffee @@ -18,6 +18,7 @@ describe "the `atom` global", -> afterEach -> atom.themes.unload() + atom.unloadBaseStylesheets() it "loads the correct values from the theme's ui-variables file", -> config.set('core.themes', [project.resolve('themes/theme-with-ui-variables')])