From beb08a25d290445e241686a6ce1260df7e548a4b Mon Sep 17 00:00:00 2001 From: ssotomayor Date: Mon, 20 Oct 2014 14:05:18 -0300 Subject: [PATCH] Insight model test update for more coverage. --- test/Identity.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/Identity.js b/test/Identity.js index ea5e2d8e1..1ae910908 100644 --- a/test/Identity.js +++ b/test/Identity.js @@ -5,6 +5,7 @@ var _ = require('underscore'); var chai = chai || require('chai'); var should = chai.should(); var PluginManager = require('../js/models/PluginManager'); +var Insight = require('../js/models/Insight'); var FakeBlockchain = requireMock('FakeBlockchain'); @@ -420,6 +421,12 @@ describe('Identity model', function() { }); }); + describe('#Insight', function() { + it('should parse a uri', function() { + Insight.setCompleteUrl('http://someurl.bitpay.com:443'); + }); + }); + describe('#joinWallet', function() { var opts = { secret: '8WtTuiFTkhP5ao7AF2QErSwV39Cbur6pdMebKzQXFqL59RscXM',