diff options
Diffstat (limited to 'test/testabilityPatch.js')
| -rw-r--r-- | test/testabilityPatch.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index ad39e2fd..8150a0a3 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -31,8 +31,8 @@ beforeEach(function() { afterEach(function() { if (this.$injector) { - var $rootScope = this.$injector('$rootScope'); - var $log = this.$injector('$log'); + var $rootScope = this.$injector.get('$rootScope'); + var $log = this.$injector.get('$log'); // release the injector dealoc($rootScope); |
