moving torwards fixing tests
This commit is contained in:
parent
d43e7943d3
commit
10bd5ba6bf
2 changed files with 5 additions and 4 deletions
|
|
@ -1,3 +1,6 @@
|
|||
var Wallet = require('../../js/models/core/Wallet');
|
||||
|
||||
|
||||
var FakeWallet = function() {
|
||||
this.id = 'testID';
|
||||
this.balance = 10000;
|
||||
|
|
@ -66,10 +69,7 @@ FakeWallet.prototype.fetchPaymentTx = function(opts, cb) {
|
|||
};
|
||||
|
||||
|
||||
FakeWallet.prototype.createPaymentTx = function() {
|
||||
|
||||
};
|
||||
|
||||
FakeWallet.prototype.createPaymentTx = Wallet.prototype.createPaymentTx;
|
||||
|
||||
|
||||
FakeWallet.prototype.getBalance = function(cb) {
|
||||
|
|
|
|||
|
|
@ -153,6 +153,7 @@ describe("Unit: Controllers", function() {
|
|||
scope.$digest();
|
||||
form = scope.form;
|
||||
sendForm = scope.form2;
|
||||
scope.sendForm = sendForm;
|
||||
}));
|
||||
|
||||
it('should have a SendController controller', function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue