s/ignoreInvisibles/showInvisibles

This commit is contained in:
joshaber
2016-03-03 09:59:45 -05:00
parent b26b6ced0a
commit db20cecfc0
2 changed files with 6 additions and 4 deletions

View File

@@ -5829,11 +5829,11 @@ describe "TextEditor", ->
rangeIsReversed: false
}
describe "when the editor is constructed with the ignoreInvisibles option set to true", ->
describe "when the editor is constructed with the showInvisibles option set to false", ->
beforeEach ->
atom.workspace.destroyActivePane()
waitsForPromise ->
atom.workspace.open('sample.js', ignoreInvisibles: true).then (o) -> editor = o
atom.workspace.open('sample.js', showInvisibles: false).then (o) -> editor = o
it "ignores invisibles even if editor.showInvisibles is true", ->
atom.config.set('editor.showInvisibles', true)