aboutsummaryrefslogtreecommitdiffstats
path: root/test/AngularSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2011-08-17 12:21:43 -0700
committerIgor Minar2011-10-11 10:53:03 -0700
commite134a8335f5ee7d2e81034ed93f3e465cb14573f (patch)
treea01dc685708c5db9e1e564853bb292d6f7ad7a7a /test/AngularSpec.js
parent8ee32a75f07da96ec1cc4a8474a9a53e5c2aca98 (diff)
downloadangular.js-e134a8335f5ee7d2e81034ed93f3e465cb14573f.tar.bz2
fix(filter): make json filter ignore private properties
Diffstat (limited to 'test/AngularSpec.js')
-rw-r--r--test/AngularSpec.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/AngularSpec.js b/test/AngularSpec.js
index 9f77d3ea..9a1a20c7 100644
--- a/test/AngularSpec.js
+++ b/test/AngularSpec.js
@@ -514,12 +514,6 @@ describe('angular', function(){
expect(angular.scope().$service('svc2')).toEqual('svc2-svc1');
});
- it('should inject infered dependencies when $inject is missing', function() {
- angular.service('svc1', function() { return 'svc1'; });
- angular.service('svc2', function(svc1) { return 'svc2-' + svc1; });
- expect(angular.scope().$service('svc2')).toEqual('svc2-svc1');
- });
-
it('should eagerly instantiate a service if $eager is true', function() {
var log = [];
angular.service('svc1', function() { log.push('svc1'); }, {$eager: true});