diff options
author | Tim Smith <tsmith@chef.io> | 2017-12-29 20:37:39 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-12-29 20:46:31 -0800 |
commit | 601c2cabf9cd3101c624e86602a52df58d7b5d11 (patch) | |
tree | 5da749fafa256e46a659a4c841979d58c78ffe93 /spec/integration/recipes | |
parent | bfe8487a26f99d3cd3e08fffea8cf6457631cf69 (diff) | |
download | chef-601c2cabf9cd3101c624e86602a52df58d7b5d11.tar.gz |
Improve property warnings in resourcesbetter_resource_errors
Give more details on why people are seeing these problems so they can fix them.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/integration/recipes')
-rw-r--r-- | spec/integration/recipes/resource_action_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/recipes/resource_action_spec.rb b/spec/integration/recipes/resource_action_spec.rb index 53f25cb35b..f698a65771 100644 --- a/spec/integration/recipes/resource_action_spec.rb +++ b/spec/integration/recipes/resource_action_spec.rb @@ -509,7 +509,7 @@ module ResourceActionSpec Chef::Config[:treat_deprecation_warnings_as_errors] = false expect_converge do has_property_named_template "hi" - end.to raise_error(/Property `template` of `has_property_named_template\[hi\]` was incorrectly passed a block. Possible property-resource collision. To call a resource named `template` either rename the property or else use `declare_resource\(:template, ...\)`/) + end.to raise_error(/Property `template` of `has_property_named_template\[hi\]` was incorrectly passed a block. Possible property-resource collision. To call a resource named `template` either rename the property or else use `declare_resource\(:template, ...\)`/) end end |