beforeEach(inject(function($injector) {
$httpBackend = $injector.get('$httpBackend');
- $httpBackend.whenJSONP(/authors/).passThrough();
+ $httpBackend.whenJSONP(/authors/)
+// .passThrough();
+ .respond({ rows: [] });
}));
afterEach(function() {
$httpBackend.verifyNoOutstandingExpectation();