           expect(editor.lines.find('.line:eq(2)')).toHaveHtml '&nbsp;'
           expect(editor.getCursorScreenPosition()).toEqual(row: 2, column: 0)
 
-    describe "when backspace is pressed", ->
+    describe "backspace", ->
       describe "when the cursor is on the middle of the line", ->
         it "removes the character before the cursor", ->
           editor.setCursorScreenPosition(row: 1, column: 7)

          expect(buffer.lineForRow(1)).toBe '  var qif (items.length <= 1) return items;'
          expect(editor.getCursorScreenPosition()).toEqual [1, 7]

    describe "when return is pressed", ->
      describe "when the cursor is at the beginning of a line", ->
        it "inserts an empty line before it", ->
          editor.setCursorScreenPosition(row: 1, column: 0)

          editor.setCursorScreenPosition([12, buffer.lineForRow(12).length])
          editor.trigger keydownEvent('delete')
          expect(buffer.lineForRow(12)).toBe '};'

      describe "when multiple lines are removed from the buffer (regression)", ->
        it "removes all of them from the dom", ->
          buffer.change(new Range([6, 24], [12, 0]), '')
          expect(editor.find('.line').length).toBe 7
          expect(editor.find('.line:eq(6)').text()).toBe(buffer.lineForRow(6))

    describe "delete-to-end-of-word", ->
      describe "when no text is selected", ->
