diff --git a/test/server.js b/test/server.js index 8deb95da..ffb6c605 100644 --- a/test/server.js +++ b/test/server.js @@ -4,20 +4,12 @@ module.exports=require('theory') , invincible: true , dep: ['../shots'] , init: function(a){ - console.log("ECHO"); var echo = {}, redis, client; echo.shot = a.shots(); echo.put = function(m){ console.log('stream', m); } echo.state = function(m){ - redis = redis || require('redis') - , client = client || redis.createClient(); - client.set("string key", "string val", redis.print); - client.get("string key", function(e,r){ - console.log("WE DID IT!!!!"); - console.log(e, r); - }); if(echo.shot.server(m,a.com.reply)){ return } m.what.body = ''; a.com.reply(m); diff --git a/test/tests.js b/test/tests.js index 43ea3554..f6f7e89d 100644 --- a/test/tests.js +++ b/test/tests.js @@ -1,7 +1,6 @@ module.exports=require('theory') ('tests',function(a){ if(root.node){ - require('../../../lushly/keys'); var shot = require('../shots')({src: a.com}).pump(function(g, m, done){ done(); }); @@ -93,7 +92,7 @@ module.exports=require('theory') it('tests',function(){ //return; //var s = theory.shot({src: '/test/server.js'}) - var s = shot.shell('lushly.org/tests/package.json',function(g){ + var s = shot.shell('gunjs.herokuapp.com/tests/package.json',function(g){ if(!g){ return } console.log('graph', g()); var p = g('packageson'); @@ -103,7 +102,7 @@ module.exports=require('theory') console.log(val); p('version',val); a.time.wait(function(){ - shot.shell('lushly.org/tests/package.json',function(gg){ + shot.shell('gunjs.herokuapp.com/tests/package.json',function(gg){ var pp = gg('packageson'); console.log('graph prime', gg()); expect(val).to.be(pp('version'));