           expect(buffer.lineForRow(1)).toBe '  var qif (items.length <= 1) return items;'
           expect(editor.getCursorScreenPosition()).toEqual [1, 7]
 
-    describe "when return is pressed", ->
+    describe "return", ->
       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 "delete-to-end-of-word", ->
      describe "when no text is selected", ->


        expect(selections[0].getBufferRange()).toEqual [[1, 12], [1, 12]]
        expect(selections[1].getBufferRange()).toEqual [[1, 30], [1, 30]]

  describe "when the editor is attached to the dom", ->
    it "calculates line height and char width and updates the pixel position of the cursor", ->
