From 55bab0fbe07ca4ebdcd53bae131adda3ebbfafbd Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 13 Nov 2012 14:18:12 -0700 Subject: [PATCH] Un F --- spec/app/editor-spec.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/app/editor-spec.coffee b/spec/app/editor-spec.coffee index 8587dbee3..1ccfab796 100644 --- a/spec/app/editor-spec.coffee +++ b/spec/app/editor-spec.coffee @@ -43,7 +43,7 @@ describe "Editor", -> expect(-> new Editor).toThrow() describe ".copy()", -> - fit "builds a new editor with the same edit sessions, cursor position, and scroll position as the receiver", -> + it "builds a new editor with the same edit sessions, cursor position, and scroll position as the receiver", -> rootView.attachToDom() rootView.height(8 * editor.lineHeight) rootView.width(50 * editor.charWidth) @@ -238,6 +238,7 @@ describe "Editor", -> editor.setSelectedBufferRange([[40, 0], [43, 1]]) expect(editor.getSelection().getScreenRange()).toEqual [[40, 0], [43, 1]] previousScrollHeight = editor.verticalScrollbar.prop('scrollHeight') + editor.scrollTop(750) expect(editor.scrollTop()).toBe 750