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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource_definition_spec.rb b/spec/unit/resource_definition_spec.rb
index 2e3fc63260..a1c59eaaca 100644
--- a/spec/unit/resource_definition_spec.rb
+++ b/spec/unit/resource_definition_spec.rb
@@ -92,7 +92,7 @@ describe Chef::ResourceDefinition do
it "should raise an exception if prototype_params is not a hash" do
expect do
- defn.define :monkey, Array.new do
+ defn.define :monkey, [] do
end
end.to raise_error(ArgumentError)
end