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:
parent
e9df60cd11
commit
9987b0c240
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
---
|
||||
AllCops:
|
||||
TargetRubyVersion: 2.1
|
||||
|
||||
inherit_from:
|
||||
- .rubocop-disables.yml
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue