Add no selection rule to spec selector

This commit is contained in:
Kevin Sawicki
2012-12-22 22:13:51 -08:00
parent 905002cd58
commit f7878a02dd

View File

@@ -1766,7 +1766,7 @@ describe "Editor", ->
it "doesn't highlight the background of the gutter", ->
editor.getSelection().setBufferRange(new Range([0,0],[2,0]))
expect(editor.getSelection().isSingleScreenLine()).toBe false
expect(editor.find('.line-number.cursor-line-no-selection').length).toBe 0
expect(editor.find('.line-number.cursor-line.cursor-line-no-selection').length).toBe 0
it "when a newline is deleted with backspace, the line number of the new cursor position is highlighted", ->
editor.setCursorScreenPosition([1,0])