trying to fix tests

This commit is contained in:
Manuel Araoz 2014-06-23 09:31:41 -03:00
parent d83f0388f3
commit e09b1e4fdc
1 changed files with 4 additions and 2 deletions

View File

@ -109,10 +109,12 @@ describe("Unit: Controllers", function() {
); );
scope.model = { scope.model = {
newaddress: null, newaddress: null,
newlabel: null newlabel: null,
}; };
$compile(element)(scope); $compile(element)(scope);
$controller('SendController', {$scope: scope}); $controller('SendController', {$scope: scope,
$modal: {},
});
scope.$digest(); scope.$digest();
form = scope.form; form = scope.form;
})); }));