mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-18 19:41:07 +00:00
adding an expectation to widgetsSpec.js for ng:include
This commit is contained in:
parent
0df7329a6a
commit
d8e86291c4
1 changed files with 2 additions and 0 deletions
|
|
@ -446,6 +446,8 @@ describe("widget", function(){
|
||||||
scope.$xhr.cache.data.myUrl = {value:'{{name}}'};
|
scope.$xhr.cache.data.myUrl = {value:'{{name}}'};
|
||||||
scope.$init();
|
scope.$init();
|
||||||
|
|
||||||
|
expect(element.text()).toEqual('igor');
|
||||||
|
|
||||||
scope.url = undefined;
|
scope.url = undefined;
|
||||||
scope.$eval();
|
scope.$eval();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue