       describe ".cutToEndOfLine()", ->
         describe "when soft wrap is on", ->
           it "cuts up to the end of the line", ->
+            editSession.setSoftWrap(true)
             editSession.setSoftWrapColumn(10)
             editSession.setCursorScreenPosition([2, 2])
             editSession.cutToEndOfLine()


    describe "when soft wrap is enabled", ->
      it "deletes the entire line that the cursor is on", ->
        editSession.setSoftWrapColumn(10)
        editSession.setCursorBufferPosition([6])


    describe ".moveCursorToFirstCharacterOfLine()", ->
      describe "when soft wrap is on", ->
        it "moves to the first character of the current screen line or the beginning of the screen line if it's already on the first character", ->
          editSession.setSoftWrap(true)
          editSession.setSoftWrapColumn(10)
          editSession.setCursorScreenPosition [2,5]
          editSession.addCursorAtScreenPosition [8,7]
