diff options
author | Lamont Granquist <lamont@chef.io> | 2020-02-24 10:08:18 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 10:08:18 -0800 |
commit | 8857916e1a0854b5a0dccfcf0724f461ddf50844 (patch) | |
tree | 5d62662f61af8ee9b46aa9957d78fb95205968f3 /spec | |
parent | 49580490a63618b684d509ecde64e0eff656fd7c (diff) | |
parent | d8fbc2505da27aab787985446630999aa0eeab0f (diff) | |
download | chef-8857916e1a0854b5a0dccfcf0724f461ddf50844.tar.gz |
Merge pull request #9381 from chef/net_http_deprecations
Update HTTPServerException to be HTTPClientException
Diffstat (limited to 'spec')
-rw-r--r-- | spec/integration/knife/data_bag_show_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/knife/data_bag_show_spec.rb b/spec/integration/knife/data_bag_show_spec.rb index 42553dc478..35f12f9619 100644 --- a/spec/integration/knife/data_bag_show_spec.rb +++ b/spec/integration/knife/data_bag_show_spec.rb @@ -26,7 +26,7 @@ describe "knife data bag show", :workstation do when_the_chef_server "is empty" do it "raises error if try to retrieve it" do - expect { knife("data bag show bag") }.to raise_error(Net::HTTPServerException) + expect { knife("data bag show bag") }.to raise_error(Net::HTTPClientException) end end |