Search for a more specific string

This spec only requires one match so don't search
for something that has many matches and will take
longer to display.

Reduces the run time of this spec by ~1.5 seconds.
This commit is contained in:
Kevin Sawicki
2013-01-10 09:00:02 -08:00
parent 339d29e1b5
commit 14d9fc5e45

View File

@@ -127,7 +127,7 @@ describe "CommandPanel", ->
describe "when the preview list is/was previously visible", ->
beforeEach ->
rootView.trigger 'command-panel:toggle'
waitsForPromise -> commandPanel.execute('X x/a+/')
waitsForPromise -> commandPanel.execute('X x/quicksort/')
describe "when the command panel is visible", ->
beforeEach ->