diff --git a/spec/editor-spec.coffee b/spec/editor-spec.coffee index c0d8cb8ba..0eb35125e 100644 --- a/spec/editor-spec.coffee +++ b/spec/editor-spec.coffee @@ -1330,12 +1330,12 @@ describe "Editor", -> expect(editor.renderedLines.find(".line:first").text()).toBe buffer.lineForRow(0) expect(editor.renderedLines.find(".line:last").text()).toBe buffer.lineForRow(6) - it "increases the width of the rendered lines element to be either the width of the longest line or the width of the scrollView (whichever is longer)", -> + ffit "increases the width of the rendered lines element to be either the width of the longest line or the width of the scrollView (whichever is longer)", -> maxLineLength = editor.getMaxScreenLineLength() setEditorWidthInChars(editor, maxLineLength) widthBefore = editor.renderedLines.width() expect(widthBefore).toBe editor.scrollView.width() + 20 - buffer.change([[12,0], [12,0]], [1..maxLineLength*10].join('')) + buffer.change([[12,0], [12,0]], [1..maxLineLength*2].join('')) expect(editor.renderedLines.width()).toBeGreaterThan widthBefore describe "when lines are removed", ->