               expect(editSession.indentationForBufferRow(6)).toBe editSession.indentationForBufferRow(5)
 
           it "does not indent the line preceding the newline", ->
-            config.set("editor.autoIndent", true)
             editSession.setCursorBufferPosition([2, 0])
             editSession.insertText('  var this-line-should-be-indented-more\n')
             expect(editSession.indentationForBufferRow(1)).toBe 1

            expect(editSession.indentationForBufferRow(2)).toBe editSession.indentationForBufferRow(1)

        describe "when the preceding line doesn't match an increase indent pattern", ->
          it "decreases the indentation of the line to be one level below that of the preceding line", ->
            editSession.setCursorBufferPosition([3, Infinity])
            editSession.insertText('\n    ')
            expect(editSession.indentationForBufferRow(4)).toBe editSession.indentationForBufferRow(3)
            editSession.insertText('}', autoDecreaseIndent: true)
            expect(editSession.indentationForBufferRow(4)).toBe editSession.indentationForBufferRow(3) - 1

      describe "when inserted text does not match a decrease indent pattern", ->
        it "does not the indentation", ->

      expect(editSession.lineForBufferRow(3)).toBe "      inside=true"
      expect(editSession.lineForBufferRow(4)).toBe "    }"
      expect(editSession.lineForBufferRow(5)).toBe "    i=1"

  describe ".destroy()", ->
    it "destroys all markers associated with the edit session", ->
