Remove unnecessary construction of new editor

This commit is contained in:
Nathan Sobo
2012-06-05 14:25:32 -06:00
parent 3a776347ff
commit e433d106b8

View File

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