Please sign in to comment.
Make that test a bit more reliable.
I think slow responses from the server were causing these tests to fail because ajax:after is called after the ajax request is sent and it didn't look like it was guaranteed that the request had completed by the time ajax:after was called. Instead, call the start() method when the ajax:complete callback is triggered because in this case we know the ajax has completed and the other callbacks have already been run (their assertions were triggered)
- Loading branch information...
Showing with 4 additions and 4 deletions.