Test fixed

This commit is contained in:
Matias Pando 2014-11-27 18:33:06 -03:00
parent 36822dce49
commit 198a39beff
1 changed files with 0 additions and 4 deletions

View File

@ -246,7 +246,6 @@ describe('Identity model', function() {
args = createIdentity();
args.params.noWallets = true;
var old = Identity.prototype.createWallet;
sinon.stub(Identity.prototype, 'store').yields(null);
Identity.create(args.params, function(err, res) {
iden = res;
});
@ -303,7 +302,6 @@ describe('Identity model', function() {
args.storage.getItem.onFirstCall().callsArgWith(1, null, '{"wallet": "fakeData"}');
var backup = Wallet.fromUntrustedObj;
args.params.noWallets = true;
sinon.stub(Identity.prototype, 'store').yields(null);
sinon.stub().returns(args.wallet);
var opts = {
@ -396,8 +394,6 @@ describe('Identity model', function() {
beforeEach(function() {
args = createIdentity();
args.params.Async = net = sinon.stub();
sinon.stub(Identity.prototype, 'store').yields(null);
net.cleanUp = sinon.spy();
net.on = sinon.stub();
net.start = sinon.spy();