summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2017-08-13 16:37:12 -0700
committerNoah Kantrowitz <noah@coderanger.net>2017-08-13 16:37:12 -0700
commitd715e95d5389f87d2b075ab4bda10902062797b1 (patch)
treee96a7c6554456aa986ea7e0eed652cfb26385630
parentf4d2315665aaadc367ab007495828a433328c618 (diff)
downloadchef-d715e95d5389f87d2b075ab4bda10902062797b1.tar.gz
Better spec label.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
-rw-r--r--spec/unit/resource_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource_spec.rb b/spec/unit/resource_spec.rb
index fe41486cf0..ff6064f25a 100644
--- a/spec/unit/resource_spec.rb
+++ b/spec/unit/resource_spec.rb
@@ -379,7 +379,7 @@ describe Chef::Resource do
end
context "when property is required" do
- it "supresses that properties value" do
+ it "does not propagate vailidation errors" do
resource_class = Class.new(Chef::Resource) { property :foo, String, required: true }
resource = resource_class.new("sensitive_property_tests")
expect { resource.to_text }.to_not raise_error Chef::Exceptions::ValidationFailed