diff options
Diffstat (limited to 'test/service/xhr.bulkSpec.js')
| -rw-r--r-- | test/service/xhr.bulkSpec.js | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/test/service/xhr.bulkSpec.js b/test/service/xhr.bulkSpec.js index adcb61fa..01e0a365 100644 --- a/test/service/xhr.bulkSpec.js +++ b/test/service/xhr.bulkSpec.js @@ -4,7 +4,10 @@ describe('$xhr.bulk', function() {    var scope, $browser, $browserXhr, $log, $xhrBulk, $xhrError, log;    beforeEach(function(){ -    scope = angular.scope({}, null, {'$xhr.error': $xhrError = jasmine.createSpy('$xhr.error')}); +    scope = angular.scope(angular.service, { +      '$xhr.error': $xhrError = jasmine.createSpy('$xhr.error'), +      '$log': $log = {} +    });      $browser = scope.$service('$browser');      $browserXhr = $browser.xhr;      $xhrBulk = scope.$service('$xhr.bulk');  | 
