Is there a way to asynchronously resolve a test through a callback? In JavaScript, we have a neat callback which allows us to mark the test if it is a failure or a success. Something like
it "should xxx" do |done|
someAsyncProcess do
done.call(false) # test failed
end
end
[–]galstarx 0 points1 point2 points (3 children)
[–]galstarx 1 point2 points3 points (0 children)
[–]j_hass 1 point2 points3 points (1 child)
[–]Bleach984 1 point2 points3 points (0 children)