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

Commit

Permalink
Merge pull request #208 from cheister/fix-jruby-ssl_params-test
Browse files Browse the repository at this point in the history
fix https_server test in JRuby that has a different message for the S…
  • Loading branch information
Donovan Keme committed Aug 24, 2015
2 parents 10b1950 + 5492f29 commit fe1ee29
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit fe1ee29

Please sign in to comment.