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")