summaryrefslogtreecommitdiff
path: root/spec/unit
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit')
-rw-r--r--spec/unit/http/ssl_policies_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/unit/http/ssl_policies_spec.rb b/spec/unit/http/ssl_policies_spec.rb
index 856c921c74..d7876d6145 100644
--- a/spec/unit/http/ssl_policies_spec.rb
+++ b/spec/unit/http/ssl_policies_spec.rb
@@ -81,7 +81,6 @@ describe "HTTP SSL Policy" do
describe "when configured with :ssl_verify_mode set to :verify peer" do
before do
- @url = URI.parse("https://chef.example.com:4443/")
Chef::Config[:ssl_verify_mode] = :verify_none
end
@@ -91,8 +90,6 @@ describe "HTTP SSL Policy" do
end
describe "when configured with a client certificate" do
- before { @url = URI.parse("https://chef.example.com:4443/") }
-
it "raises ConfigurationError if the certificate file doesn't exist" do
Chef::Config[:ssl_client_cert] = "/dev/null/nothing_here"
Chef::Config[:ssl_client_key] = CHEF_SPEC_DATA + "/ssl/chef-rspec.key"