From 9361b0717cc9d8a255be655cf94c282d33cd6cd6 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Mon, 1 Oct 2012 10:42:15 -0700 Subject: [PATCH] Give gutter line highlighting its own `describe` --- spec/app/editor-spec.coffee | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/app/editor-spec.coffee b/spec/app/editor-spec.coffee index 897fe81e8..cbf56a6d8 100644 --- a/spec/app/editor-spec.coffee +++ b/spec/app/editor-spec.coffee @@ -1595,6 +1595,11 @@ describe "Editor", -> expect(miniEditor.getCursorBufferPosition().row).toBe 0 expect(miniEditor.find('.line.cursor-line').length).toBe 0 + + describe "gutter line highlighting", -> + beforeEach -> + editor.attachToDom(heightInLines: 5.5) + describe "when there is no wrapping", -> it "highlights the line where the initial cursor position is", -> expect(editor.getCursorBufferPosition().row).toBe 0