Fix workspaceView spec

This commit is contained in:
Corey Johnson 2014-04-29 16:59:15 -07:00
parent 6ff2b2a01e
commit e8c62b501f

View File

@ -58,7 +58,7 @@ describe "WorkspaceView", ->
pane1 = atom.workspaceView.getActivePaneView() pane1 = atom.workspaceView.getActivePaneView()
pane2 = pane1.splitRight() pane2 = pane1.splitRight()
pane3 = pane2.splitRight() pane3 = pane2.splitRight()
pane4 = pane2.splitDown() pane4 = null
waitsForPromise -> waitsForPromise ->
atom.workspace.open('b').then (editor) -> atom.workspace.open('b').then (editor) ->
@ -70,6 +70,7 @@ describe "WorkspaceView", ->
runs -> runs ->
pane3.activeItem.setCursorScreenPosition([2, 4]) pane3.activeItem.setCursorScreenPosition([2, 4])
pane4 = pane2.splitDown()
waitsForPromise -> waitsForPromise ->
atom.workspace.open('../sample.txt').then (editor) -> atom.workspace.open('../sample.txt').then (editor) ->