         editor.setEditorWidthInChars(20)
         coffeeEditor.setEditorWidthInChars(20)
 
-      it 'isSoftWrapped() returns true for coffeescript', ->
-        expect(editor.isSoftWrapped()).toBe false
-        expect(coffeeEditor.isSoftWrapped()).toBe true
-
-      it 'correctly wraps coffeescript file', ->
+      it 'wraps only the editor with scoped `editor.softWrap` set to true', ->
         expect(editor.lineTextForScreenRow(2)).toEqual '    if (items.length <= 1) return items;'
         expect(coffeeEditor.lineTextForScreenRow(3)).toEqual '    return items '
 

        editor.setGrammar(coffeeEditor.getGrammar())
        expect(editor.isSoftWrapped()).toBe true
        expect(editor.lineTextForScreenRow(0)).toEqual 'var quicksort = '

    describe 'invisibles settings', ->
      [jsInvisibles, coffeeInvisibles] = []

        expect(line1LeafNodes[0].classList.contains('indent-guide')).toBe false
        expect(line1LeafNodes[1].classList.contains('indent-guide')).toBe false

      it "removes the 'indent-guide' class when setting scoped editor.showIndentGuide to false", ->
        line1LeafNodes = getLeafNodes(component.lineNodeForScreenRow(1))
        expect(line1LeafNodes[0].textContent).toBe '  '
        expect(line1LeafNodes[0].classList.contains('indent-guide')).toBe true
