aboutsummaryrefslogtreecommitdiffstats
path: root/test/directive/ngIncludeSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2012-03-11 22:36:29 -0700
committerMisko Hevery2012-03-11 22:36:29 -0700
commitcce31d4c93978a9b2ed3bddb5f16e22fa0d07f5b (patch)
treeb4f3fc9f1fc2c3b1445256a5fa5c38f0cc812b01 /test/directive/ngIncludeSpec.js
parent3e5377f4f3b1d0f06af50e21026835bee0556b4a (diff)
downloadangular.js-cce31d4c93978a9b2ed3bddb5f16e22fa0d07f5b.tar.bz2
chore(ng-include): update to work in ng-include|src mode
Diffstat (limited to 'test/directive/ngIncludeSpec.js')
-rw-r--r--test/directive/ngIncludeSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/directive/ngIncludeSpec.js b/test/directive/ngIncludeSpec.js
index 32d760c3..f4652a73 100644
--- a/test/directive/ngIncludeSpec.js
+++ b/test/directive/ngIncludeSpec.js
@@ -33,7 +33,7 @@ describe('ng-include', function() {
it('should remove previously included text if a falsy value is bound to src', inject(
putIntoCache('myUrl', '{{name}}'),
function($rootScope, $compile, $browser) {
- element = jqLite('<ng:include src="url" scope="childScope"></ng:include>');
+ element = jqLite('<div ng-include="url" scope="childScope"></div>');
element = $compile(element)($rootScope);
$rootScope.childScope = $rootScope.$new();
$rootScope.childScope.name = 'igor';