easternbloc / node-stomp-client

A STOMP client for Node.js
Other
93 stars 47 forks source link

Fix connect test, which was passing an options object #12

Closed sam-github closed 11 years ago

sam-github commented 11 years ago

An options object isn't supported, it was being used as an address, and passed as a final argument to createConnection(port,...), where it was ignored because it is not a function. This becomes noticeable once the default port becomes correct, and you are running a STOMP server, because this test ends up using a valid default port.