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

Fix up rubocop and jruby tests.

This commit is contained in:
Andy Brody 2016-09-12 01:46:38 -04:00
parent e9df60cd11
commit 9987b0c240
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,6 @@
---
AllCops:
TargetRubyVersion: 2.1
inherit_from:
- .rubocop-disables.yml

View file

@ -839,7 +839,8 @@ describe RestClient::Request, :include_helpers do
@request.send(:transmit, @uri, 'req', 'payload')
end
it "should not set the ssl_ciphers if set to nil" do
it "should not set the ssl_ciphers if set to nil",
:unless => RestClient::Request::WeakDefaultCiphers.include?(OpenSSL::SSL::SSLContext::DEFAULT_PARAMS.fetch(:ciphers)) do
@request = RestClient::Request.new(
:method => :put,
:url => 'https://some/resource',