From 68c1b21129ec78193b949b96477132a3c795c7a5 Mon Sep 17 00:00:00 2001 From: James Coglan Date: Fri, 24 May 2019 14:15:23 +0100 Subject: [PATCH] Fix RSpec warnings about raise_error with no arguments. --- spec/websocket/extensions_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/websocket/extensions_spec.rb b/spec/websocket/extensions_spec.rb index aa161b2..30e6ed8 100644 --- a/spec/websocket/extensions_spec.rb +++ b/spec/websocket/extensions_spec.rb @@ -326,7 +326,7 @@ end it "raises an error if the header is invalid" do - expect { @extensions.generate_response("x-webkit- -frame") }.to raise_error + expect { @extensions.generate_response("x-webkit- -frame") }.to raise_error(WebSocket::Extensions::Parser::ParseError) end it "returns a response for potentially conflicting extensions if their preceding extensions don't build a session" do