diff options
| author | Misko Hevery | 2012-03-11 22:36:29 -0700 |
|---|---|---|
| committer | Misko Hevery | 2012-03-11 22:36:29 -0700 |
| commit | cce31d4c93978a9b2ed3bddb5f16e22fa0d07f5b (patch) | |
| tree | b4f3fc9f1fc2c3b1445256a5fa5c38f0cc812b01 /test/directive/ngIncludeSpec.js | |
| parent | 3e5377f4f3b1d0f06af50e21026835bee0556b4a (diff) | |
| download | angular.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.js | 2 |
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'; |
