Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Bump complex
Browse files Browse the repository at this point in the history
  • Loading branch information
Braydon Fuller committed Aug 31, 2017
1 parent 6ff9582 commit 99e9b79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"scrypt": "^6.0.3",
"secp256k1": "^3.3.0",
"storj-analytics": "^1.0.0",
"storj-complex": "^5.6.0",
"storj-complex": "^6.0.0",
"storj-lib": "^7.0.0",
"storj-mongodb-adapter": "^8.0.0",
"storj-service-error-types": "^1.2.0",
Expand Down
16 changes: 0 additions & 16 deletions test/server/routes/frames.unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,6 @@ describe('FramesRouter', function() {
},
contract: {}
};
// TODO remove this when complex is upgraded
if (!framesRouter.network.publishContract) {
framesRouter.network.publishContract = function() {};
}
sandbox.stub(framesRouter.network, 'publishContract').callsArgWith(2, null, data);
sandbox.stub(framesRouter.contracts, 'load').callsArgWith(1, new Error('Not found'));
sandbox.stub(framesRouter.contracts, 'save').callsArg(1);
Expand All @@ -228,10 +224,6 @@ describe('FramesRouter', function() {
});

it('will handle error when publishing contract', function(done) {
// TODO remove this when complex is upgraded
if (!framesRouter.network.publishContract) {
framesRouter.network.publishContract = function() {};
}
sandbox.stub(framesRouter.network, 'publishContract').callsArgWith(2, new Error('test'));

let item = {
Expand Down Expand Up @@ -264,10 +256,6 @@ describe('FramesRouter', function() {
},
contract: {}
};
// TODO remove this when complex is upgraded
if (!framesRouter.network.publishContract) {
framesRouter.network.publishContract = function() {};
}
sandbox.stub(framesRouter.network, 'publishContract').callsArgWith(2, null, data);

let item = {
Expand Down Expand Up @@ -302,10 +290,6 @@ describe('FramesRouter', function() {
contract: {},
token: 'token'
};
// TODO remove this when complex is upgraded
if (!framesRouter.network.publishContract) {
framesRouter.network.publishContract = function() {};
}
sandbox.stub(framesRouter.network, 'publishContract').callsArgWith(2, null, data);

let item = {
Expand Down

0 comments on commit 99e9b79

Please sign in to comment.