Insight model test update for more coverage.
This commit is contained in:
parent
f5e0dfa58d
commit
beb08a25d2
1 changed files with 7 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue