From 9ea2bfa920ee1202349050c58377fa2a7127ff94 Mon Sep 17 00:00:00 2001 From: Matt Colyer Date: Fri, 18 Oct 2013 11:34:19 -0700 Subject: [PATCH] Clear menu template to avoid separator duplication --- spec/spec-helper.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/spec-helper.coffee b/spec/spec-helper.coffee index 0c4cf377d..2749e9247 100644 --- a/spec/spec-helper.coffee +++ b/spec/spec-helper.coffee @@ -111,6 +111,7 @@ afterEach -> keymap.bindingSets = bindingSetsToRestore keymap.bindingSetsByFirstKeystroke = bindingSetsByFirstKeystrokeToRestore atom.deactivatePackages() + atom.menu.template = [] window.rootView?.remove?() atom.rootView?.remove?() if atom.rootView isnt window.rootView