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:
parent
6e32d5c99a
commit
ff2a31d9f0
1 changed files with 1 additions and 1 deletions
|
@ -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/'
|
||||
|
|
Loading…
Reference in a new issue