fix tests

This commit is contained in:
Matias Alejo Garcia 2016-06-13 17:10:03 -03:00
commit a1eca63de4
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
4 changed files with 21 additions and 1 deletions

View file

@ -42,6 +42,10 @@ mocks.$timeout = function(cb) {
};
mocks.modal = function() {};
mocks.ongoingProcess = {
set: sinon.stub(),
clear: sinon.stub(),
};
mocks.setProfile = function(profile) {};
@ -192,6 +196,7 @@ mocks.init = function(fixtures, controllerName, opts, done) {
ctrl = $controller(controllerName, {
$scope: scope,
$modal: mocks.modal,
ongoingProcess: mocks.ongoingProcess,
notification: mocks.notification,
configService: _configService_,
profileService: _profileService_,