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()