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',