From 198a39beffc2046fcab779457e81508f443fcef4 Mon Sep 17 00:00:00 2001 From: Matias Pando Date: Thu, 27 Nov 2014 18:33:06 -0300 Subject: [PATCH] Test fixed --- test/Identity.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/Identity.js b/test/Identity.js index a22b08df7..f39d3db42 100644 --- a/test/Identity.js +++ b/test/Identity.js @@ -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();