2014-02-19 11:07:50 -08:00
|
|
|
'use strict';
|
|
|
|
|
2014-03-08 13:42:08 -08:00
|
|
|
var chai = chai || require('chai');
|
|
|
|
var bitcore = bitcore || require('../bitcore');
|
2014-02-19 11:07:50 -08:00
|
|
|
|
|
|
|
var should = chai.should();
|
|
|
|
|
|
|
|
var RpcClientModule = bitcore.RpcClient;
|
|
|
|
var RpcClient;
|
2014-03-05 11:11:16 -08:00
|
|
|
RpcClient = RpcClientModule;
|
2014-02-19 11:07:50 -08:00
|
|
|
|
|
|
|
describe('RpcClient', function() {
|
|
|
|
it('should initialze the main object', function() {
|
|
|
|
should.exist(RpcClientModule);
|
|
|
|
});
|
|
|
|
it('should be able to create class', function() {
|
|
|
|
should.exist(RpcClient);
|
|
|
|
});
|
|
|
|
it('should be able to create instance', function() {
|
|
|
|
var s = new RpcClient();
|
|
|
|
should.exist(s);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|