diff options
| author | Misko Hevery | 2011-11-12 14:57:43 -0800 | 
|---|---|---|
| committer | Misko Hevery | 2011-11-14 20:31:19 -0800 | 
| commit | 8d6dc0b9a7b3dbff5f8edb3217b60b0cc5b66be4 (patch) | |
| tree | a1c21a3d6a13c36460cd33e326bff5a4b2c61462 /test/AngularSpec.js | |
| parent | acbd7cdf320f0570fcc1952c8680d4c78bc8fa2c (diff) | |
| download | angular.js-8d6dc0b9a7b3dbff5f8edb3217b60b0cc5b66be4.tar.bz2 | |
del($eager): removed the support for $eager services
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']); -    });    }); | 
