From 187895a893babc97668b3cbf75744fc2344e1f38 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 9 Oct 2013 17:43:46 -0700 Subject: [PATCH] I'm not entirely sure why I need this now. It seems there is no editor unless I show the first editSession --- spec/pane-spec.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/pane-spec.coffee b/spec/pane-spec.coffee index 7bc8bc7ff..ed8a7587d 100644 --- a/spec/pane-spec.coffee +++ b/spec/pane-spec.coffee @@ -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()