diff --git a/.travis.yml b/.travis.yml index b76243778..4d4ad32b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,11 +12,9 @@ addons: matrix: allow_failures: - node_js: "5" - - node_js: "6" before_install: - npm install -g npm@latest-2 node_js: - - "6" - "5" - "4" - "0.12" diff --git a/test/nodes/core/core/75-exec_spec.js b/test/nodes/core/core/75-exec_spec.js index bf6d8d60b..9572a99c4 100644 --- a/test/nodes/core/core/75-exec_spec.js +++ b/test/nodes/core/core/75-exec_spec.js @@ -234,17 +234,10 @@ describe('exec node', function() { var n2 = helper.getNode("n2"); var n3 = helper.getNode("n3"); var n4 = helper.getNode("n4"); - n2.on("input", function(msg) { - console.log("n2",msg); - }); - n3.on("input", function(msg) { - console.log("n3",msg); - }); n4.on("input", function(msg) { - console.log("n4",msg); msg.should.have.property("payload"); - msg.payload.should.be.a.String; - msg.payload.should.equal(-2); + msg.payload.should.be.a.Number; + msg.payload.should.be.below(0); done(); }); n1.receive({payload:null});