Fix action logging in random spec

This commit is contained in:
Nathan Sobo
2015-02-02 22:09:25 -07:00
parent 4a74d4adba
commit cf50ec1861

View File

@@ -1722,8 +1722,8 @@ describe "TextEditorPresenter", ->
referencePresenter = new TextEditorPresenter(presenterParams)
expect(presenter.state).toEqual referencePresenter.state
actions = []
_.times 30, ->
actions = []
performRandomAction (action) -> actions.push(action)
actualState = presenter.state
expectedState = new TextEditorPresenter(presenterParams).state