From c1c055319cd5aa0fc34ca8a3f4ab3c3e1d23cd2b Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Mon, 23 Jul 2012 13:17:42 -0600 Subject: [PATCH] Remove redundant `describe` block This is now tested via pressing enter on the mini-editor --- spec/extensions/command-panel-spec.coffee | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spec/extensions/command-panel-spec.coffee b/spec/extensions/command-panel-spec.coffee index 2c638fccc..68bbbe08c 100644 --- a/spec/extensions/command-panel-spec.coffee +++ b/spec/extensions/command-panel-spec.coffee @@ -279,3 +279,11 @@ describe "CommandPanel", -> commandPanel.execute() expect(rootView.getActiveEditor().getText()).toBe "i love love" expect(rootView.find('.command-panel')).not.toExist() + + describe "when the preview list is focused", -> + beforeEach -> + rootView.trigger 'command-panel:toggle' + waitsForPromise -> commandPanel.execute('X x/a+/') + + describe "when move-down and move-up are triggered on the preview list", -> + it "selects the next/previous operation", ->