Open
Description
In debugging why the $httpBackend object throws an error stating "whenGET is not a function", it appears the problem lies in your module's use of $httpBackend. As I'm not proficient enough to figure out what's happening, I can only say that when stepping through the Chrome debugger, at the point where my mock'd data service calls $httpBackend.whenGET... the $httpBackend object is being returned from the angular-file javascript, and not the angular-mocks javascript. Once I comment out your module, my mock'd data works perfectly.
Metadata
Metadata
Assignees
Labels
No labels