From 2e7e90a8aa67e56872d3b558e45105784b837d9b Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Wed, 12 Nov 2014 14:43:26 -0800 Subject: [PATCH] Update spec names --- spec/text-editor-component-spec.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/text-editor-component-spec.coffee b/spec/text-editor-component-spec.coffee index ba95f371c..5e9705114 100644 --- a/spec/text-editor-component-spec.coffee +++ b/spec/text-editor-component-spec.coffee @@ -1240,7 +1240,7 @@ describe "TextEditorComponent", -> expect(overlay.style.top).toBe position.top + editor.getLineHeightInPixels() + 'px' describe "when the marker is not empty", -> - it "renders in the correct position", -> + it "renders at the head of the marker", -> marker = editor.displayBuffer.markBufferRange([[2, 5], [2, 10]], invalidate: 'never') decoration = editor.decorateMarker(marker, {type: 'overlay', item}) nextAnimationFrame() @@ -1251,7 +1251,7 @@ describe "TextEditorComponent", -> expect(overlay.style.left).toBe position.left + 'px' expect(overlay.style.top).toBe position.top + editor.getLineHeightInPixels() + 'px' - it "renders in the correct position when the marker is reversed", -> + it "renders at the head of the marker when the marker is reversed", -> marker = editor.displayBuffer.markBufferRange([[2, 5], [2, 10]], invalidate: 'never', reversed: true) decoration = editor.decorateMarker(marker, {type: 'overlay', item}) nextAnimationFrame()