JustinTulloss/zeromq.node — pull request #237 by skeggse (2013-10-11 00:31:11+00:00)
Title: Switch tests to use Mocha

This pull request fixes #197, should you chose to merge it.

Looks like there maybe a small problem with should.js, as with #160 `(function(){}).should.be.a('function')` fails because `.should.be` is an object instead of a function, but this works if you replace it with `(function(){}).should.be.a.Function`. This is fixed here, but I don't know why it would be a problem to begin with.

All socket tests were merged into test/socket.js, for better or for worse, but can be split back up into individual files if useful. This gave the mocha spec reporter better grouping than having related tests in separate files.