mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Bump ameba dependency (#602)
This commit is contained in:
parent
8d0875f64c
commit
0764091e03
3 changed files with 4 additions and 4 deletions
|
@ -22,8 +22,8 @@ describe "Kemal::WebSocketHandler" do
|
|||
|
||||
it "matches on given route" do
|
||||
handler = Kemal::WebSocketHandler::INSTANCE
|
||||
ws "/" { |socket| socket.send("Match") }
|
||||
ws "/no_match" { |socket| socket.send "No Match" }
|
||||
ws("/", &.send("Match"))
|
||||
ws("/no_match", &.send("No Match"))
|
||||
headers = HTTP::Headers{
|
||||
"Upgrade" => "websocket",
|
||||
"Connection" => "Upgrade",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue