diff options
Diffstat (limited to 'test/AngularSpec.js')
| -rw-r--r-- | test/AngularSpec.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/AngularSpec.js b/test/AngularSpec.js index e14f2e27..4579000d 100644 --- a/test/AngularSpec.js +++ b/test/AngularSpec.js @@ -389,18 +389,6 @@ describe('angular', function() { })('svc2')).toEqual('svc2-svc1'); }); - it('should eagerly instantiate a service if $eager is true', function() { - var log = []; - angular.injector(function($provide){ - $provide.service('svc1', function() { - this.$get = function(){ - log.push('svc1'); - } - this.$eager = true; - }); - }); - expect(log).toEqual(['svc1']); - }); }); |
