Skip to content

Commit

Permalink
Fix inject test to use a proper type
Browse files Browse the repository at this point in the history
  • Loading branch information
knolleary committed Feb 4, 2016
1 parent c7bcd3f commit 633a6a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/nodes/core/core/20-inject_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('inject node', function() {
before(function(done) {
helper.startServer(done);
});

afterEach(function() {
helper.unload();
});
Expand Down Expand Up @@ -87,13 +87,13 @@ describe('inject node', function() {
it('should inject message', function(done) {
helper.load(injectNode,
[{id:"n1", type:"inject",
payloadType:"some type", topic: "t4",
payloadType:"str", topic: "t4",payload:"hello",
wires:[["n4"]] },
{ id:"n4", type:"helper"}], function() {
var n4 = helper.getNode("n4");
n4.on("input", function(msg) {
msg.should.have.property('topic', 't4');
msg.should.have.property('payload', '');
msg.should.have.property('payload', 'hello');
helper.clearFlows().then(function() {
done();
});
Expand Down

0 comments on commit 633a6a0

Please sign in to comment.