From 84f7da6e936c9a0f29833ec1fc0b96318b17b7b5 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 11 Oct 2016 11:16:10 +0100 Subject: [PATCH] Fix null checking in exec node test --- test/nodes/core/core/75-exec_spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/nodes/core/core/75-exec_spec.js b/test/nodes/core/core/75-exec_spec.js index 256cff1b4..9d44d96d7 100644 --- a/test/nodes/core/core/75-exec_spec.js +++ b/test/nodes/core/core/75-exec_spec.js @@ -259,7 +259,8 @@ describe('exec node', function() { n4.on("input", function(msg) { try { msg.should.have.property("payload"); - should.not.be.null(msg.payload); + + should.exist(msg.payload); msg.payload.should.be.a.Number(); msg.payload.should.equal(0); done();