From 37a7cfaf9af9a825e823f713ac468dafe79d8cb5 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Thu, 16 Oct 2014 17:31:13 -0700 Subject: [PATCH] Remove location junk from panel creation --- spec/panel-container-spec.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/panel-container-spec.coffee b/spec/panel-container-spec.coffee index 305036a03..7931d6b3c 100644 --- a/spec/panel-container-spec.coffee +++ b/spec/panel-container-spec.coffee @@ -16,11 +16,11 @@ describe "PanelContainer", -> it 'emits an onDidAddPanel event with the index the panel was inserted at', -> container.onDidAddPanel addPanelSpy = jasmine.createSpy() - panel1 = new Panel(item: new TestPanelItem(), location: 'left') + panel1 = new Panel(item: new TestPanelItem()) container.addPanel(panel1) expect(addPanelSpy).toHaveBeenCalledWith({panel: panel1, index: 0}) - panel2 = new Panel(item: new TestPanelItem(), location: 'left') + panel2 = new Panel(item: new TestPanelItem()) container.addPanel(panel2) expect(addPanelSpy).toHaveBeenCalledWith({panel: panel2, index: 1}) @@ -28,9 +28,9 @@ describe "PanelContainer", -> it 'emits an onDidRemovePanel event with the index of the removed item', -> container.onDidRemovePanel removePanelSpy = jasmine.createSpy() - panel1 = new Panel(item: new TestPanelItem(), location: 'left') + panel1 = new Panel(item: new TestPanelItem()) container.addPanel(panel1) - panel2 = new Panel(item: new TestPanelItem(), location: 'left') + panel2 = new Panel(item: new TestPanelItem()) container.addPanel(panel2) expect(removePanelSpy).not.toHaveBeenCalled()