I'm having a hell of a time trying to mock $http with $httpBackend. Basically if you are mocking GET, JSONP or DELETE requests, the only way to mock them is to actually express the full URI including the query. However this gets quite challenging because Angular uses it's own query encoding functions which do not appear to be publicly accessible.
The only solution I have for now is to hard-code the URI in my test.
I'd suggest one of two solutions:
I'd actually suggest both are good ideas.
Is this issue still being worked on? Whats the status?
Most helpful comment
Is this issue still being worked on? Whats the status?