Add atom prefix to rootView

This commit is contained in:
Kevin Sawicki
2013-11-20 16:38:52 -08:00
parent aab63c26e7
commit cd37caae96

View File

@@ -482,13 +482,13 @@ describe "Pane", ->
container.attachToDom()
pane.focus()
pane.remove()
expect(rootView.focus).toHaveBeenCalled()
expect(atom.rootView.focus).toHaveBeenCalled()
describe "when the removed pane is not focused", ->
it "does not call focus on root view", ->
expect(pane).not.toMatchSelector ':has(:focus)'
pane.remove()
expect(rootView.focus).not.toHaveBeenCalled()
expect(atom.rootView.focus).not.toHaveBeenCalled()
describe ".getNextPane()", ->
it "returns the next pane if one exists, wrapping around from the last pane to the first", ->