aboutsummaryrefslogtreecommitdiffstats
path: root/test/widgetsSpec.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/widgetsSpec.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/widgetsSpec.js')
-rw-r--r--test/widgetsSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/widgetsSpec.js b/test/widgetsSpec.js
index d2204540..b7ef16a4 100644
--- a/test/widgetsSpec.js
+++ b/test/widgetsSpec.js
@@ -487,7 +487,7 @@ describe("widget", function() {
}));
it('should be possible to nest ng:view in ng:include', inject(function() {
- var injector = createInjector();
+ var injector = createInjector(angularService);
var myApp = injector('$rootScope');
var $browser = myApp.$service('$browser');
$browser.xhr.expectGET('includePartial.html').respond('view: <ng:view></ng:view>');