mhevery/angular.js — comment on commit e44585a68905f8555cd45c694d24e94ad9178e14
File:  line 0
By IgorMinar:

just FYI: I would use jasmine spy and toHaveBeenCalledWith instead. the jasmine style conveys the intent behind your assertions better.