From 9efc326ff3ce9d5f9c160f8c68f3474a73a28351 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 2 Apr 2013 14:43:17 -0600 Subject: [PATCH] Remove spec that can be covered in text-buffer specs --- spec/app/edit-session-spec.coffee | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spec/app/edit-session-spec.coffee b/spec/app/edit-session-spec.coffee index 4fd1cbaf6..3337d526b 100644 --- a/spec/app/edit-session-spec.coffee +++ b/spec/app/edit-session-spec.coffee @@ -2059,12 +2059,6 @@ describe "EditSession", -> editSession.setCursorScreenPosition([0, 1]) editSession.buffer.reload() expect(editSession.getCursorScreenPosition()).toEqual [0,1] - it "preserves the current state if the file was not saved yet", -> - editSession.destroy() - editSession = project.buildEditSession(null, autoIndent: false) - editSession.buffer.setText('test') - editSession = EditSession.deserialize(editSession.serialize()) - expect(editSession.buffer.getText()).toBe('test') describe "when the 'grammars-loaded' event is triggered on the syntax global", -> it "reloads the edit session's grammar and re-tokenizes the buffer if it changes", ->