Skip to content
Browse files

fixed failing specs for JS HandshakeSpec. The failing specs were miss…

…ing the in-process connection types.
  • Loading branch information...
1 parent e2349c5 commit 3b0850938d696bc624aabb7fc7239944eabe3a58 @hamin hamin committed May 26, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 spec/javascript/server/handshake_spec.js
View
12 spec/javascript/server/handshake_spec.js
@@ -25,7 +25,7 @@ JS.ENV.Server.HandshakeSpec = JS.Test.describe("Server handshake", function() {
channel: "/meta/handshake",
successful: true,
version: "1.0",
- supportedConnectionTypes: ["long-polling", "cross-origin-long-polling", "callback-polling", "websocket"],
+ supportedConnectionTypes: ["long-polling", "cross-origin-long-polling", "callback-polling", "websocket","in-process"],
clientId: "clientid"
}, response)
})
@@ -41,7 +41,7 @@ JS.ENV.Server.HandshakeSpec = JS.Test.describe("Server handshake", function() {
channel: "/meta/handshake",
successful: true,
version: "1.0",
- supportedConnectionTypes: ["long-polling", "cross-origin-long-polling", "callback-polling", "websocket"],
+ supportedConnectionTypes: ["long-polling", "cross-origin-long-polling", "callback-polling", "websocket","in-process"],
clientId: "clientid",
id: "foo"
}, response)
@@ -65,7 +65,7 @@ JS.ENV.Server.HandshakeSpec = JS.Test.describe("Server handshake", function() {
successful: false,
error: "402:version:Missing required parameter",
version: "1.0",
- supportedConnectionTypes: ["long-polling", "cross-origin-long-polling", "callback-polling", "websocket"]
+ supportedConnectionTypes: ["long-polling", "cross-origin-long-polling", "callback-polling", "websocket","in-process"]
}, response)
})
}})
@@ -86,7 +86,7 @@ JS.ENV.Server.HandshakeSpec = JS.Test.describe("Server handshake", function() {
successful: false,
error: "402:supportedConnectionTypes:Missing required parameter",
version: "1.0",
- supportedConnectionTypes: ["long-polling", "cross-origin-long-polling", "callback-polling", "websocket"]
+ supportedConnectionTypes: ["long-polling", "cross-origin-long-polling", "callback-polling", "websocket","in-process"]
}, response)
})
}})
@@ -121,7 +121,7 @@ JS.ENV.Server.HandshakeSpec = JS.Test.describe("Server handshake", function() {
successful: false,
error: "301:iframe,flash:Connection types not supported",
version: "1.0",
- supportedConnectionTypes: ["long-polling", "cross-origin-long-polling", "callback-polling", "websocket"]
+ supportedConnectionTypes: ["long-polling", "cross-origin-long-polling", "callback-polling", "websocket","in-process"]
}, response)
})
}})
@@ -144,7 +144,7 @@ JS.ENV.Server.HandshakeSpec = JS.Test.describe("Server handshake", function() {
successful: false,
error: "invalid",
version: "1.0",
- supportedConnectionTypes: ["long-polling", "cross-origin-long-polling", "callback-polling", "websocket"]
+ supportedConnectionTypes: ["long-polling", "cross-origin-long-polling", "callback-polling", "websocket","in-process"]
}, response)
})
}})

0 comments on commit 3b08509

Please sign in to comment.
Something went wrong with that request. Please try again.