diff options
Diffstat (limited to 'spec/unit/resource/windows_dns_record_spec.rb')
-rw-r--r-- | spec/unit/resource/windows_dns_record_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/resource/windows_dns_record_spec.rb b/spec/unit/resource/windows_dns_record_spec.rb index d4f9cd06a8..acf8824e89 100644 --- a/spec/unit/resource/windows_dns_record_spec.rb +++ b/spec/unit/resource/windows_dns_record_spec.rb @@ -29,15 +29,15 @@ describe Chef::Resource::WindowsDnsRecord do end it "the record_type property accepts 'CNAME'" do - expect { resource.record_type "CNAME" }.not_to raise_error(ArgumentError) + expect { resource.record_type "CNAME" }.not_to raise_error end it "the record_type property accepts 'ARecord'" do - expect { resource.record_type "ARecord" }.not_to raise_error(ArgumentError) + expect { resource.record_type "ARecord" }.not_to raise_error end it "the record_type property accepts 'PTR'" do - expect { resource.record_type "PTR" }.not_to raise_error(ArgumentError) + expect { resource.record_type "PTR" }.not_to raise_error end it "the resource raises an ArgumentError if invalid record_type is set" do |