Skip to content

Commit

Permalink
Fix RSpec warnings about raise_error with no arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoglan committed May 24, 2019
1 parent 8ee09b2 commit 68c1b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/websocket/extensions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 68c1b21

Please sign in to comment.