From 9bb7f221fe58d3a0a296410874a3ab632f7f4583 Mon Sep 17 00:00:00 2001 From: Matias Pando Date: Mon, 9 Mar 2015 15:24:37 -0300 Subject: [PATCH] Added tests --- test/integration/server.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/test/integration/server.js b/test/integration/server.js index 011df7b..e7fb6c8 100644 --- a/test/integration/server.js +++ b/test/integration/server.js @@ -1648,7 +1648,18 @@ describe('Copay server', function() { done(); }); }); - it.skip('should get someone elses transaction proposal', function(done) {}); + it('should get someone elses transaction proposal', function(done) { + helpers.getAuthServer(wallet.copayers[1].id, function(server2, wallet) { + server2.getTx({ + txProposalId: txpid + }, function(err, res) { + should.not.exist(err); + res.id.should.equal(txpid); + done(); + }); + }); + + }); it('should fail to get non-existent transaction proposal', function(done) { server.getTx({ txProposalId: 'dummy'