1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

Use plain HTTP httpbin.org for jruby 9.0.5.0.

This commit is contained in:
Andy Brody 2017-02-18 22:47:19 -05:00
parent 6e32d5c99a
commit ff2a31d9f0

View file

@ -13,7 +13,7 @@ describe RestClient::Request do
def default_httpbin_url
# add a hack to work around java/jruby bug
# java.lang.RuntimeException: Could not generate DH keypair with backtrace
if ENV['TRAVIS_RUBY_VERSION'] == 'jruby-19mode'
if ['jruby-19mode', 'jruby-9.0.5.0'].include?(ENV['TRAVIS_RUBY_VERSION'])
'http://httpbin.org/'
else
'https://httpbin.org/'