Rename config to allowPendingPaneItems and improve description

This commit is contained in:
Katrina Uychaco
2016-02-17 11:56:50 -08:00
parent c9150c3f73
commit b8677c13df
3 changed files with 5 additions and 5 deletions

View File

@@ -1533,10 +1533,10 @@ describe "Workspace", ->
atom.workspace.closeActivePaneItemOrEmptyPaneOrWindow()
expect(atom.close).toHaveBeenCalled()
describe "when the core.openPendingPaneItems option is falsey", ->
describe "when the core.allowPendingPaneItems option is falsey", ->
it "does not open item with `pending: true` option as pending", ->
editor = null
atom.config.set('core.openPendingPaneItems', false)
atom.config.set('core.allowPendingPaneItems', false)
waitsForPromise ->
atom.workspace.open('sample.js', pending: true).then (o) -> editor = o