summaryrefslogtreecommitdiff
path: root/spec/integration/knife/data_bag_create_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/knife/data_bag_create_spec.rb')
-rw-r--r--spec/integration/knife/data_bag_create_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/knife/data_bag_create_spec.rb b/spec/integration/knife/data_bag_create_spec.rb
index dc61d55fd5..5ee7a2f00d 100644
--- a/spec/integration/knife/data_bag_create_spec.rb
+++ b/spec/integration/knife/data_bag_create_spec.rb
@@ -49,7 +49,7 @@ describe "knife data bag create", :workstation do
it "fails to add an existing item" do
knife("data bag create foo bar").should_succeed stdout: out, stderr: err
- expect { knife("data bag create foo bar") }.to raise_error(Net::HTTPServerException)
+ expect { knife("data bag create foo bar") }.to raise_error(Net::HTTPClientException)
end
end
end