mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
[FEATURE] ripple.txt client
This commit is contained in:
@@ -1 +1,18 @@
|
||||
var assert = require('assert');
|
||||
var assert = require('assert');
|
||||
var RippleTxt = require('../src/js/ripple/rippletxt');
|
||||
|
||||
|
||||
describe('Vault Client', function() {
|
||||
|
||||
describe('Ripple Txt', function() {
|
||||
|
||||
it('should get the context of a ripple.txt file from a given domain', function(done){
|
||||
var rt = new RippleTxt();
|
||||
rt.get("ripple.com", function(err, resp){
|
||||
assert.ifError(err);
|
||||
assert.equal(typeof resp, 'object');
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user