From c7562f8aa55c512123e4022147178f908be9aa13 Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Wed, 28 Jan 2015 12:16:19 -0300 Subject: [PATCH] . --- test/integration.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration.js b/test/integration.js index dbb656f..af05414 100644 --- a/test/integration.js +++ b/test/integration.js @@ -324,7 +324,7 @@ describe('Copay server', function() { }); }; - describe('#_verifyMessageSignature', function() { + describe('#verifyMessageSignature', function() { beforeEach(function() { server = new CopayServer({ storage: storage, @@ -357,7 +357,7 @@ describe('Copay server', function() { signature: 'dummy', }; server.verifyMessageSignature(opts, function (err, isValid) { - err.should.exist; + err.should.equal('Copayer not found'); done(); }); });