diff options
Diffstat (limited to 'test/service/xhr.errorSpec.js')
| -rw-r--r-- | test/service/xhr.errorSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/service/xhr.errorSpec.js b/test/service/xhr.errorSpec.js index d3af4565..82fafe80 100644 --- a/test/service/xhr.errorSpec.js +++ b/test/service/xhr.errorSpec.js @@ -4,7 +4,7 @@ describe('$xhr.error', function() { var scope, $browser, $browserXhr, $xhr, $xhrError, log; beforeEach(function(){ - scope = angular.scope({}, angular.service, { + scope = angular.scope(angular.service, { '$xhr.error': $xhrError = jasmine.createSpy('$xhr.error') }); $browser = scope.$service('$browser'); |
