[Treeview] Update tests

For the existence of ngModel
This commit is contained in:
slhale 2015-08-20 11:50:44 -07:00
parent 3f7b874b38
commit 4b3ca316e1
2 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@ define(
"$scope", "$scope",
[ "$on", "$watch" ] [ "$on", "$watch" ]
); );
mockScope.ngModel = {};
mockRoute = { current: { params: {} } }; mockRoute = { current: { params: {} } };
mockLocation = jasmine.createSpyObj( mockLocation = jasmine.createSpyObj(
"$location", "$location",

View File

@ -48,6 +48,7 @@ define(
"$scope", "$scope",
[ "$on", "$watch" ] [ "$on", "$watch" ]
); );
mockScope.ngModel = {};
mockRoute = { current: { params: {} } }; mockRoute = { current: { params: {} } };
mockLocation = jasmine.createSpyObj( mockLocation = jasmine.createSpyObj(
"$location", "$location",