Renamed call to ControlPanel.hide to ControlPanel.detach

This commit is contained in:
Corey Johnson
2012-06-25 11:51:04 -07:00
parent 6d69ec77f1
commit 3efcc50a0d
2 changed files with 10 additions and 9 deletions

View File

@@ -29,6 +29,7 @@ describe "CommandPanel", ->
expect(commandPanel.miniEditor.isFocused).toBeFalsy()
rootView.trigger 'command-panel:toggle'
window.advanceClock() # Setting the font is in a defer statement
expect(rootView.find('.command-panel').view()).toBe commandPanel
expect(commandPanel.miniEditor.isFocused).toBeTruthy()
# this is currently assigned dynamically since our css scheme lacks variables