         expect(line1LeafNodes[0].classList.contains('indent-guide')).toBe false
         expect(line1LeafNodes[1].classList.contains('indent-guide')).toBe false
 
-      it "removes the 'indent-guide' class unsetting the value for javascript", ->
+      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

        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', ->
        expect(editor.lineTextForScreenRow(2)).toEqual '    if (items.length <= 1) return items;'
        expect(coffeeEditor.lineTextForScreenRow(3)).toEqual '    return items '


        editor.setText " a line with tabs\tand spaces \n"
        nextAnimationFrame()

      it "renders the invisibles for the editor when scoped editor.showInvisibles is true", ->
        expect(component.lineNodeForScreenRow(0).textContent).toBe "#{jsInvisibles.space}a line with tabs#{jsInvisibles.tab}and spaces#{jsInvisibles.space}#{jsInvisibles.eol}"

      it "does not renders the invisibles for when scoped editor.showInvisibles is false", ->
        editor.setGrammar(coffeeEditor.getGrammar())
        nextAnimationFrame()
        expect(component.lineNodeForScreenRow(0).textContent).toBe " a line with tabs and spaces "
