mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-19 00:06:30 +08:00
adding an expectation to widgetsSpec.js for ng:include
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user