summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2017-08-13 16:41:17 -0700
committerNoah Kantrowitz <noah@coderanger.net>2017-08-13 16:41:17 -0700
commit4639c0c67a98c0c5af1fc302ecc729aec435d452 (patch)
tree2c985fdc75613d3886954eb8351c9a84e3a3f490
parentd715e95d5389f87d2b075ab4bda10902062797b1 (diff)
downloadchef-4639c0c67a98c0c5af1fc302ecc729aec435d452.tar.gz
And fix the resource name.
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 ff6064f25a..9227c8b12d 100644
--- a/spec/unit/resource_spec.rb
+++ b/spec/unit/resource_spec.rb
@@ -381,7 +381,7 @@ describe Chef::Resource do
context "when property is required" 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")
+ resource = resource_class.new("required_property_tests")
expect { resource.to_text }.to_not raise_error Chef::Exceptions::ValidationFailed
end
end