Skip to content

Commit

Permalink
Fixed another error in broadcast test
Browse files Browse the repository at this point in the history
CHANGED:
- Node1 should be broadcasting not node3
  • Loading branch information
Nathan Lam committed Feb 15, 2017
1 parent 8a5fc4a commit ca26625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/event_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe("event listeners", function()
end)

local test_obj = {received={}}
node3:broadcast("test", test_obj)
node1:broadcast("test", test_obj)

assert.is_equal(test_obj.received[1], node1)
assert.is_equal(test_obj.received[2], node2)
Expand Down

0 comments on commit ca26625

Please sign in to comment.