aboutsummaryrefslogtreecommitdiffstats
path: root/test/AngularSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2011-10-31 15:33:52 -0700
committerMisko Hevery2011-11-14 16:39:32 -0800
commitc925f8a6578e05c8136c206f2fd98eeaaf1c0f16 (patch)
treee0211ce36aabe753fd633874ea5338612ab9f9fb /test/AngularSpec.js
parent4c10d33eb4340d6df30e298d63f4d37c25aab65f (diff)
downloadangular.js-c925f8a6578e05c8136c206f2fd98eeaaf1c0f16.tar.bz2
new(injector): new injector v2.0
- not connected to keep the CL small
Diffstat (limited to 'test/AngularSpec.js')
-rw-r--r--test/AngularSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/AngularSpec.js b/test/AngularSpec.js
index 7e6f35fa..a957fcf7 100644
--- a/test/AngularSpec.js
+++ b/test/AngularSpec.js
@@ -416,7 +416,7 @@ describe('angular', function() {
it('should eagerly instantiate a service if $eager is true', function() {
var log = [];
angular.service('svc1', function() { log.push('svc1'); }, {$eager: true});
- createInjector();
+ createInjector(angularService);
expect(log).toEqual(['svc1']);
});
});