Search for something with fewer results

Previously the search query used in the command panel
spec returned 500+ matches when the specs needed far
less to verify moving up and down and scrolling.

This reduces the time take to run the command panel spec
by ~2.5 seconds.
This commit is contained in:
Kevin Sawicki
2013-01-10 08:47:05 -08:00
parent 7a89de077b
commit 339d29e1b5

View File

@@ -375,7 +375,7 @@ describe "CommandPanel", ->
beforeEach ->
previewList = commandPanel.previewList
rootView.trigger 'command-panel:toggle'
waitsForPromise -> commandPanel.execute('X x/a/')
waitsForPromise -> commandPanel.execute('X x/sort/')
describe "when move-down and move-up are triggered on the preview list", ->
it "selects the next/previous operation (if there is one), and scrolls the list if needed", ->