Make that test a bit more reliable.
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)

asilano/jquery-ujs,AndyLampert/jquery-ujs,dreamingblackcat/jquery-ujs,maclover7/jquery-ujs,shakacode/jquery-ujs,universsky/jquery-ujs,star-diopside/jquery-ujs,runephilosof/jquery-ujs,maclover7/jquery-ujs,dreamingblackcat/jquery-ujs,mycolorway/jquery-ujs,akzhan/jquery-ujs,universsky/jquery-ujs,star-diopside/jquery-ujs,rails/jquery-ujs,mycolorway/jquery-ujs,rails/jquery-ujs,rails/jquery-ujs,tuvaergun/jquery-ujs,runephilosof/jquery-ujs,simsalabim/jquery-ujs,maclover7/jquery-ujs,shakacode/jquery-ujs,AndyLampert/jquery-ujs,maclover7/jquery-ujs,greinoso/Stefy,samuelcole/jquery-ujs,dreamingblackcat/jquery-ujs,AndyLampert/jquery-ujs,simsalabim/jquery-ujs,shakacode/jquery-ujs,mshibuya/jqmobi-ujs,callumacrae/jquery-ujs,rails/jquery-ujs,akzhan/jquery-ujs,callumacrae/jquery-ujs,star-diopside/jquery-ujs,runephilosof/jquery-ujs,universsky/jquery-ujs,tuvaergun/jquery-ujs,twalpole/jquery-ujs,mshibuya/jqmobi-ujs,mycolorway/jquery-ujs,greinoso/Stefy,asilano/jquery-ujs,callumacrae/jquery-ujs,twalpole/jquery-ujs,callumacrae/jquery-ujs,asilano/jquery-ujs,universsky/jquery-ujs,twalpole/jquery-ujs,tuvaergun/jquery-ujs,dreamingblackcat/jquery-ujs,star-diopside/jquery-ujs,tuvaergun/jquery-ujs,runephilosof/jquery-ujs,mycolorway/jquery-ujs,asilano/jquery-ujs,JangoSteve/jquery-ujs,AndyLampert/jquery-ujs,shakacode/jquery-ujs,twalpole/jquery-ujs,greinoso/Stefy,samuelcole/jquery-ujs,JangoSteve/jquery-ujs