I'm trying to test an Angular controller method that returns a promise. I stubbed out the promise-returning method (using a sinon stub), but when the promise is resolved (fulfilled), the registered success/onFulfilled handler does not get called. Basically, I can't get resolved promises in a Jasmine test to fire any of its registered handlers. See code here - http://cl.ly/code/1o1s2Y2F381c
Please advise. Thanks.