Skip to content

Commit 68c1b21

Browse files
committed
Fix RSpec warnings about raise_error with no arguments.
1 parent 8ee09b2 commit 68c1b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/websocket/extensions_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@
326326
end
327327

328328
it "raises an error if the header is invalid" do
329-
expect { @extensions.generate_response("x-webkit- -frame") }.to raise_error
329+
expect { @extensions.generate_response("x-webkit- -frame") }.to raise_error(WebSocket::Extensions::Parser::ParseError)
330330
end
331331

332332
it "returns a response for potentially conflicting extensions if their preceding extensions don't build a session" do

0 commit comments

Comments
 (0)