summaryrefslogtreecommitdiff
path: root/spec/unit/property
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-06-03 15:47:14 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-23 15:23:01 -0700
commit0a55c383bcd1f658f68c4ee1dbb2dd910cea052b (patch)
treea6e9c33ff083710f7ca4240224609ae4ce5072c6 /spec/unit/property
parent2278a61bc0fafe7fdd208c30b12cc11db9547d04 (diff)
downloadchef-0a55c383bcd1f658f68c4ee1dbb2dd910cea052b.tar.gz
Add name_property
Diffstat (limited to 'spec/unit/property')
-rw-r--r--spec/unit/property/validation_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/property/validation_spec.rb b/spec/unit/property/validation_spec.rb
index 586d94ee18..60016ce2e1 100644
--- a/spec/unit/property/validation_spec.rb
+++ b/spec/unit/property/validation_spec.rb
@@ -407,7 +407,7 @@ describe "Chef::Resource.property validation" do
end
# with_property ':x, name_property: true, required: true' do
- with_property ':x, required: true, name_attribute: true' do
+ with_property ':x, required: true, name_property: true' do
it "if x is not specified, retrieval fails" do
expect { resource.x }.to raise_error Chef::Exceptions::ValidationFailed
end