Skip to content

Commit 9844aea

Browse files
committed
Merge pull request #35 from hindessm/fix-tests
Fix tests to check the correct node.
2 parents 2d18c37 + a4bd2c5 commit 9844aea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/dropbox/dropbox_spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ describe('dropbox nodes', function() {
3333
helper.load(dropboxNode,
3434
[{id:"n1", type:"helper", wires:[["n2"]]},
3535
{id:"n2", type:"dropbox out"}], function() {
36-
var n1 = helper.getNode("n1");
37-
n1.should.have.property('id', 'n1');
36+
var n2 = helper.getNode("n2");
37+
n2.should.have.property('id', 'n2');
3838
done();
3939
});
4040
});

test/flickr/flickr_spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ describe('flickr nodes', function() {
3333
helper.load(flickrNode,
3434
[{id:"n1", type:"helper", wires:[["n2"]]},
3535
{id:"n2", type:"flickr out"}], function() {
36-
var n1 = helper.getNode("n1");
37-
n1.should.have.property('id', 'n1');
36+
var n2 = helper.getNode("n2");
37+
n2.should.have.property('id', 'n2');
3838
done();
3939
});
4040
});

0 commit comments

Comments
 (0)