summaryrefslogtreecommitdiff
path: root/spec/integration/knife/role_create_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/knife/role_create_spec.rb')
-rw-r--r--spec/integration/knife/role_create_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/knife/role_create_spec.rb b/spec/integration/knife/role_create_spec.rb
index 941eaf5cb6..54ade9de09 100644
--- a/spec/integration/knife/role_create_spec.rb
+++ b/spec/integration/knife/role_create_spec.rb
@@ -33,7 +33,7 @@ describe "knife role create", :workstation do
it "refuses to add an existing role" do
pending "Knife role create must not blindly overwrite an existing role"
knife("role create bah").should_succeed out
- expect { knife("role create bah") }.to raise_error(Net::HTTPServerException)
+ expect { knife("role create bah") }.to raise_error(Net::HTTPClientException)
end
end