From e433d106b8679c2d455000942aeb913dc12e6db5 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 5 Jun 2012 14:25:32 -0600 Subject: [PATCH] Remove unnecessary construction of new editor --- spec/app/editor-spec.coffee | 2 -- 1 file changed, 2 deletions(-) diff --git a/spec/app/editor-spec.coffee b/spec/app/editor-spec.coffee index ba21544ba..c516e3e90 100644 --- a/spec/app/editor-spec.coffee +++ b/spec/app/editor-spec.coffee @@ -2600,8 +2600,6 @@ describe "Editor", -> describe "editor-path-change event", -> it "emits event when buffer's path is changed", -> - editor = new Editor - eventHandler = jasmine.createSpy('eventHandler') editor.on 'editor-path-change', eventHandler editor.buffer.setPath("moo.text")