diff --git a/spec/editor-component-spec.coffee b/spec/editor-component-spec.coffee index 3d9056498..8a7d22421 100644 --- a/spec/editor-component-spec.coffee +++ b/spec/editor-component-spec.coffee @@ -92,14 +92,14 @@ describe "EditorComponent", -> invisibles = null beforeEach -> - atom.config.set("editor.showInvisibles", true) invisibles = eol: 'E' space: 'S' tab: 'T' cr: 'C' - component.setInvisibles(invisibles) + atom.config.set("editor.showInvisibles", true) + atom.config.set("editor.invisibles", invisibles) it "displays spaces, tabs, and newlines as visible charachters", -> editor.setText " a line with tabs\tand spaces "