Use updateDisplay instead of renderLines in autocomplete spec

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-11-13 17:25:51 -07:00
parent 97e3a8f248
commit 8959adc13d

View File

@@ -360,7 +360,7 @@ describe "Autocomplete", ->
beforeEach ->
editor.attachToDom()
setEditorHeightInLines(editor, 13)
editor.renderLines() # Ensures the editor only has 13 lines visible
editor.resetDisplay() # Ensures the editor only has 13 lines visible
editor.setCursorBufferPosition [1, 1]