     describe ".moveCursorToBeginningOfLine()", ->
       describe "when soft wrap is on", ->
         it "moves cursor to the beginning of the screen line", ->
+          editSession.setSoftWrap(true)
           editSession.setSoftWrapColumn(10)
           editSession.setCursorScreenPosition([1, 2])
           editSession.moveCursorToBeginningOfLine()

    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.setSoftWrapColumn(10)
          editSession.setCursorScreenPosition [2,5]
          editSession.addCursorAtScreenPosition [8,7]

      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()
