summaryrefslogtreecommitdiff
path: root/spec/unit/client_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/client_spec.rb')
-rw-r--r--spec/unit/client_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/client_spec.rb b/spec/unit/client_spec.rb
index 378f0cb7b6..6dc10c21b8 100644
--- a/spec/unit/client_spec.rb
+++ b/spec/unit/client_spec.rb
@@ -385,7 +385,7 @@ shared_examples_for Chef::Client do
context "fatal admin check is configured" do
it "should not raise an exception" do
- @client.do_windows_admin_check.should_not raise_error(Chef::Exceptions::WindowsNotAdmin)
+ @client.do_windows_admin_check.should_not raise_error
end
end
end
@@ -402,7 +402,7 @@ shared_examples_for Chef::Client do
context "fatal admin check is configured" do
it "should raise an exception" do
- @client.do_windows_admin_check.should_not raise_error(Chef::Exceptions::WindowsNotAdmin)
+ @client.do_windows_admin_check.should_not raise_error
end
end
end