Give gutter line highlighting its own describe

This commit is contained in:
Corey Johnson
2012-10-01 10:42:15 -07:00
committed by Kevin Sawicki
parent 0059accaa4
commit 9361b0717c

View File

@@ -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