Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

fix https_server test in JRuby that has a different message for the S… #208

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/reel/https_server_spec.rb
Expand Up @@ -117,7 +117,7 @@

request = Net::HTTP::Get.new(endpoint.path)

expect { http.request(request) }.to raise_error(OpenSSL::SSL::SSLError, /wrong version number/)
expect { http.request(request) }.to raise_error(OpenSSL::SSL::SSLError)

http.ssl_version = :TLSv1
response = http.request(request)
Expand Down