Add a spec for the scoped setting

This commit is contained in:
Ben Ogle
2015-08-12 17:23:15 -07:00
parent 1192008479
commit b5d253b9c5

View File

@@ -3822,6 +3822,8 @@ describe "TextEditor", ->
expect(editor.getSoftTabs()).toBe false
atom.config.set('editor.tabType', 'auto')
expect(editor.getSoftTabs()).toBe true
atom.config.set('editor.tabType', 'hard', scopeSelector: '.source.js')
expect(editor.getSoftTabs()).toBe false
waitsForPromise ->
atom.workspace.open('sample-with-tabs.coffee').then (editor) ->