Make sure named spies are used and the assigned variable matches the spy name. Using properly named spies makes stacktraces more obvious.
The following are considered warnings:
var spy = jasmine.createSpy();
callback = jasmine.createSpy('success');
The following patterns are not warnings:
var success = jasmine.createSpy('success')
onError = jasmine.createSpy('onError')