summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-02-10 11:15:34 +0100
committerJames Lopez <james@jameslopez.es>2016-02-10 11:15:34 +0100
commit0c25846d9c9a1efe78dfe229a91ed62459e2f9a5 (patch)
tree1aaa2337b8885104462102048f2cf17a84416132 /spec
parent79e05b2848fd3700e5cc89dfe2f4d16e4d74d5d8 (diff)
parent6a88498bf9175276aaf09976dfd19f312454fc05 (diff)
downloadgitlab-shell-0c25846d9c9a1efe78dfe229a91ed62459e2f9a5.tar.gz
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-shell into fix/ruby-2.2-webrick
Diffstat (limited to 'spec')
-rw-r--r--spec/gitlab_net_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/gitlab_net_spec.rb b/spec/gitlab_net_spec.rb
index 3c2cea2..2d9b544 100644
--- a/spec/gitlab_net_spec.rb
+++ b/spec/gitlab_net_spec.rb
@@ -143,7 +143,7 @@ describe GitlabNet, vcr: true do
subject { gitlab_net.send :http_client_for, URI('https://localhost/') }
before do
gitlab_net.stub! :cert_store
- gitlab_net.send(:config).http_settings.stub(:[]).with('self_signed_cert') { true }
+ gitlab_net.send(:config).stub(:http_settings) { {'self_signed_cert' => true} }
end
its(:verify_mode) { should eq(OpenSSL::SSL::VERIFY_NONE) }