diff options
-rw-r--r-- | spec/unit/resource_spec.rb | 2 |
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 |