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 all Jruby versions.
This commit is contained in:
parent
49526387e7
commit
4903660934
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ 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 ['jruby-19mode', 'jruby-9.0.5.0'].include?(ENV['TRAVIS_RUBY_VERSION'])
|
||||
# Also (2017-04-09) Travis Jruby versions have a broken CA keystore
|
||||
if ENV['TRAVIS_RUBY_VERSION'] =~ /\Ajruby-/
|
||||
'http://httpbin.org/'
|
||||
else
|
||||
'https://httpbin.org/'
|
||||
|
|
Loading…
Add table
Reference in a new issue