From 0af952fc13aee8d24b721fcbb0bcaae9ff4498a6 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Wed, 14 Nov 2012 21:42:03 -0700 Subject: [PATCH] :lipstick: --- spec/app/editor-spec.coffee | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/spec/app/editor-spec.coffee b/spec/app/editor-spec.coffee index a7023a11a..b190e4f54 100644 --- a/spec/app/editor-spec.coffee +++ b/spec/app/editor-spec.coffee @@ -907,27 +907,6 @@ describe "Editor", -> editor.setCursorScreenPosition(row: 2, column: 2) expect(editor.getCursorView().position()).toEqual(top: 2 * editor.lineHeight, left: 2 * editor.charWidth) - xit "removes the idle class while moving, then adds it back when it stops", -> - cursorView = editor.getCursorView() - advanceClock(200) - - expect(cursorView).toHaveClass 'idle' - editor.setCursorScreenPosition([1, 2]) - expect(cursorView).not.toHaveClass 'idle' - - window.advanceClock(200) - expect(cursorView).toHaveClass 'idle' - - editor.setCursorScreenPosition([1, 3]) - advanceClock(100) - - editor.setCursorScreenPosition([1, 4]) - advanceClock(100) - expect(cursorView).not.toHaveClass 'idle' - - advanceClock(100) - expect(cursorView).toHaveClass 'idle' - it "hides the cursor when the selection is non-empty, and shows it otherwise", -> cursorView = editor.getCursorView() expect(editor.getSelection().isEmpty()).toBeTruthy()