diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-12-16 16:53:00 -0800 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2020-12-16 16:53:00 -0800 |
commit | 08b3621ce002d7228ec68e4579fd14e1987c33a1 (patch) | |
tree | d365bb8e81ae7892c1f57109ed7ecfe8dd132bb8 /spec/unit/http | |
parent | ed235e00d028e652e8a90c5ce684f2dfe241b96a (diff) | |
download | chef-08b3621ce002d7228ec68e4579fd14e1987c33a1.tar.gz |
Remove outdated test cruft.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'spec/unit/http')
-rw-r--r-- | spec/unit/http/ssl_policies_spec.rb | 3 |
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" |