spec/node.js in faye-0.6.8 vs spec/node.js in faye-0.7.0
- old
+ new
@@ -18,10 +18,11 @@
for (var j = 0, n = buffer[0].length; j < n; j++)
output.push(buffer[0][j])
})
return output
}
+FakeSocket.prototype.addListener = function() {}
JS.require('Faye', 'JS.Test', 'JS.Range', function() {
JS.Test.Unit.Assertions.include({
assertYield: function(expected) {
var testcase = this
@@ -41,9 +42,10 @@
'Server.DisconnectSpec',
'Server.SubscribeSpec',
'Server.UnsubscribeSpec',
'Server.ExtensionsSpec',
'Server.IntegrationSpec',
+ 'WebSocket.ClientSpec',
'WebSocket.Draft75ParserSpec',
'WebSocket.Protocol8ParserSpec',
'NodeAdapterSpec',
'ClientSpec',
'TransportSpec',