mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-18 23:50:23 +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.$init();
|
||||
|
||||
expect(element.text()).toEqual('igor');
|
||||
|
||||
scope.url = undefined;
|
||||
scope.$eval();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue