From e2590f78d10c77611b8f732ce9459ef111b9547f Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 7 Sep 2015 14:09:44 +0200 Subject: [PATCH] :memo: Fix wording on specs --- 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 005dfdc21..82ba75932 100644 --- a/spec/text-editor-component-spec.coffee +++ b/spec/text-editor-component-spec.coffee @@ -450,7 +450,7 @@ describe "TextEditorComponent", -> nextAnimationFrame() expect(component.lineNodeForScreenRow(10).innerHTML).toBe 'CE' - it "keeps rebuilding lines when continuous reflow is on", -> + it "keeps rebuilding lines when continuous reflow is on and the editor is focused", -> atom.config.set("editor.continuousReflow", true) wrapperNode.focus() nextAnimationFrame() @@ -854,7 +854,7 @@ describe "TextEditorComponent", -> expect(componentNode.querySelector('.gutter').style.display).toBe '' expect(component.lineNumberNodeForScreenRow(3)?).toBe true - it "keeps rebuilding line numbers when continuous reflow is on", -> + it "keeps rebuilding line numbers when continuous reflow is on and the editor is focused", -> atom.config.set("editor.continuousReflow", true) wrapperNode.focus() nextAnimationFrame()