From e09b1e4fdc03b7f793f6e6d55d421475775ce41c Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Mon, 23 Jun 2014 09:31:41 -0300 Subject: [PATCH] trying to fix tests --- test/unit/controllers/controllersSpec.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/unit/controllers/controllersSpec.js b/test/unit/controllers/controllersSpec.js index b41524a74..a4099a31b 100644 --- a/test/unit/controllers/controllersSpec.js +++ b/test/unit/controllers/controllersSpec.js @@ -109,10 +109,12 @@ describe("Unit: Controllers", function() { ); scope.model = { newaddress: null, - newlabel: null + newlabel: null, }; $compile(element)(scope); - $controller('SendController', {$scope: scope}); + $controller('SendController', {$scope: scope, + $modal: {}, + }); scope.$digest(); form = scope.form; }));