Fix improper type tests is core test cases

This commit is contained in:
Nick O'Leary
2017-07-22 22:42:35 +01:00
parent 2aced893c6
commit 6d76918424
2 changed files with 3 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ describe('inject node', function() {
var n3 = helper.getNode("n3");
n3.on("input", function(msg) {
msg.should.have.property('topic', 't3');
msg.should.have.property('payload').be.a.Number;
msg.should.have.property('payload').be.a.Number();
helper.clearFlows().then(function() {
done();
});