From 69550912c6c212b2d5df894e5aa2fb8c6badd896 Mon Sep 17 00:00:00 2001 From: David Dias Date: Thu, 7 Apr 2016 22:49:16 -0400 Subject: [PATCH] 0.4.0 is now on ipfsd-ctl, this is ready to be merged --- package.json | 2 +- test/api/pin.spec.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e593ce40b..8419f6ad8 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "gulp-tag-version": "^1.3.0", "gulp-util": "^3.0.7", "https-browserify": "0.0.1", - "ipfsd-ctl": "^0.8.1", + "ipfsd-ctl": "^0.9.0", "json-loader": "^0.5.3", "karma": "^0.13.11", "karma-chrome-launcher": "^0.2.1", diff --git a/test/api/pin.spec.js b/test/api/pin.spec.js index 412391c68..42874478d 100644 --- a/test/api/pin.spec.js +++ b/test/api/pin.spec.js @@ -4,7 +4,7 @@ describe('.pin', () => { it('.pin.add', (done) => { apiClients['b'].pin.add('Qma4hjFTnCasJ8PVp3mZbZK5g2vGDT4LByLJ7m8ciyRFZP', {recursive: false}, (err, res) => { expect(err).to.not.exist - expect(res.Pinned[0]).to.be.equal('Qma4hjFTnCasJ8PVp3mZbZK5g2vGDT4LByLJ7m8ciyRFZP') + expect(res.Pins[0]).to.be.equal('Qma4hjFTnCasJ8PVp3mZbZK5g2vGDT4LByLJ7m8ciyRFZP') done() }) }) @@ -43,7 +43,7 @@ describe('.pin', () => { return apiClients['b'].pin .add('Qma4hjFTnCasJ8PVp3mZbZK5g2vGDT4LByLJ7m8ciyRFZP', {recursive: false}) .then((res) => { - expect(res.Pinned[0]).to.be.equal('Qma4hjFTnCasJ8PVp3mZbZK5g2vGDT4LByLJ7m8ciyRFZP') + expect(res.Pins[0]).to.be.equal('Qma4hjFTnCasJ8PVp3mZbZK5g2vGDT4LByLJ7m8ciyRFZP') }) })