summaryrefslogtreecommitdiff
path: root/spec/unit/resource/windows_dns_zone_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/resource/windows_dns_zone_spec.rb')
-rw-r--r--spec/unit/resource/windows_dns_zone_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/resource/windows_dns_zone_spec.rb b/spec/unit/resource/windows_dns_zone_spec.rb
index 00bb268617..806c565b81 100644
--- a/spec/unit/resource/windows_dns_zone_spec.rb
+++ b/spec/unit/resource/windows_dns_zone_spec.rb
@@ -29,11 +29,11 @@ describe Chef::Resource::WindowsDnsZone do
end
it "the server_type property accepts 'Standalone'" do
- expect { resource.server_type "Standalone" }.not_to raise_error(ArgumentError)
+ expect { resource.server_type "Standalone" }.not_to raise_error
end
it "the server_type property accepts 'Domain'" do
- expect { resource.server_type "Domain" }.not_to raise_error(ArgumentError)
+ expect { resource.server_type "Domain" }.not_to raise_error
end
it "the resource raises an ArgumentError if invalid server_type is set" do