I'm not entirely sure why I need this now.

It seems there is no editor unless I show the first editSession
This commit is contained in:
Ben Ogle
2013-10-09 17:43:46 -07:00
parent 1120a14351
commit 187895a893

View File

@@ -236,6 +236,7 @@ describe "Pane", ->
describe "when the item is a model", ->
it "removes the associated view only when all items that require it have been removed", ->
pane.showItem(editSession1)
pane.showItem(editSession2)
pane.removeItem(editSession2)
expect(pane.itemViews.find('.editor')).toExist()