Remove update function

This commit is contained in:
Yemel Jardi 2014-06-25 11:27:25 -03:00
parent 7d8d89ab38
commit ccabcc3740
2 changed files with 0 additions and 2 deletions

View File

@ -65,7 +65,6 @@ angular.module('copayApp.controllers').controller('SendController',
message: 'There was an error sending the Transaction'
};
$scope.loading = false;
$scope.update();
});
}
});

View File

@ -203,7 +203,6 @@ describe("Unit: Controllers", function() {
scope.wallet.totalCopayers = scope.wallet.requiredCopayers = 1;
var spy = sinon.spy(scope.wallet, 'createTx');
var spy2 = sinon.spy(scope.wallet, 'sendTx');
scope.update = function() {};
scope.submitForm(sendForm);
sinon.assert.callCount(spy, 1);