summaryrefslogtreecommitdiff
path: root/spec/unit/resource_definition_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/resource_definition_spec.rb')
-rw-r--r--spec/unit/resource_definition_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/resource_definition_spec.rb b/spec/unit/resource_definition_spec.rb
index abac4c1163..f24254cfce 100644
--- a/spec/unit/resource_definition_spec.rb
+++ b/spec/unit/resource_definition_spec.rb
@@ -58,7 +58,7 @@ describe Chef::ResourceDefinition do
lambda {
@def.define :smoke do
end
- }.should_not raise_error(ArgumentError)
+ }.should_not raise_error
lambda {
@def.define "george washington" do
end
@@ -70,7 +70,7 @@ describe Chef::ResourceDefinition do
lambda {
@def.define :smoke, :cigar => "cuban", :cigarette => "marlboro" do
end
- }.should_not raise_error(ArgumentError)
+ }.should_not raise_error
end
it "should expose the prototype hash params in the params hash" do