spec/javascript/server/handshake_spec.js in faye-0.6.8 vs spec/javascript/server/handshake_spec.js in faye-0.7.0
- old
+ new
@@ -88,21 +88,9 @@
version: "1.0",
supportedConnectionTypes: ["long-polling", "cross-origin-long-polling", "callback-polling", "websocket","in-process"]
}, response)
})
}})
-
- it("returns a successful response for local clients", function() { with(this) {
- expect(engine, "createClient").yields(["clientid"])
- server.handshake(message, true, function(response) {
- assertEqual({
- channel: "/meta/handshake",
- successful: true,
- version: "1.0",
- clientId: "clientid"
- }, response)
- })
- }})
}})
describe("with no matching supportedConnectionTypes", function() { with(this) {
before(function() { with(this) {
message.supportedConnectionTypes = ["iframe", "flash"]