[FEATURE] ripple.txt client

This commit is contained in:
Matthew Fettig
2014-05-19 16:00:53 -07:00
parent 7e4ae26b8f
commit 7fe530e82c
3 changed files with 91 additions and 1 deletions

View File

@@ -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();
});
});
});
});