This is tested implicitly everywhere

This commit is contained in:
Nathan Sobo
2012-06-12 16:26:01 -06:00
parent 0e592b0e7a
commit 33ed6e980e

View File

@@ -16,13 +16,6 @@ describe "Selection", ->
selectionView = editor.getSelectionView()
selection = editor.getSelection()
describe ".setBufferRange(range)", ->
it "places the anchor at the start of the range and the cursor at the end", ->
range = new Range({row: 2, column: 7}, {row: 3, column: 18})
selection.setBufferRange(range)
expect(selection.anchor.getScreenPosition()).toEqual range.start
expect(selection.cursor.getScreenPosition()).toEqual range.end
describe ".deleteSelectedText()", ->
describe "when nothing is selected", ->
it "deletes nothing", ->