From bc59d9e056fb26863ed0c2109feba27b94115cb3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 13 May 2016 16:35:51 +0200 Subject: [PATCH] Fix adding twice a torrent in webtorrent --- server/tests/api/multiplePods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/tests/api/multiplePods.js b/server/tests/api/multiplePods.js index 486457347..51e7fb3d1 100644 --- a/server/tests/api/multiplePods.js +++ b/server/tests/api/multiplePods.js @@ -316,7 +316,7 @@ describe('Test multiple pods', function () { expect(torrent.files.length).to.equal(1) expect(torrent.files[0].path).to.exist.and.to.not.equal('') - done() + webtorrent.remove(video.magnetUri, done) }) }) })