Remove setInterval spy. It's now spied in the spec helper w/ setTimeout

This commit is contained in:
Nathan Sobo
2014-04-11 08:53:06 -06:00
parent 7a4dc0b9a4
commit 9ec38ddb0d

View File

@@ -624,8 +624,6 @@ describe "EditorView", ->
editorView.attachToDom(heightInLines: 5)
editorView.scrollToBottom()
spyOn(window, 'setInterval').andCallFake ->
# start
editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [12, 0])
originalScrollTop = editorView.scrollTop()
@@ -674,8 +672,6 @@ describe "EditorView", ->
editorView.attachToDom(heightInLines: 5)
editorView.scrollToBottom()
spyOn(window, 'setInterval').andCallFake ->
editorView.renderedLines.trigger mousedownEvent(editorView: editorView, point: [12, 0])
originalScrollTop = editorView.scrollTop()