summaryrefslogtreecommitdiff
path: root/spec/unit/property_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/property_spec.rb')
-rw-r--r--spec/unit/property_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/property_spec.rb b/spec/unit/property_spec.rb
index f758b5f403..533f0f4e4d 100644
--- a/spec/unit/property_spec.rb
+++ b/spec/unit/property_spec.rb
@@ -952,8 +952,8 @@ describe "Chef::Resource.property" do
end
end
with_property ":x, #{name}: true, default: 10" do
- it "chooses default over #{name}" do
- expect(resource.x).to eq 10
+ it "chooses #{name} over default" do
+ expect(resource.x).to eq 'blah'
end
end
with_property ":x, #{name}: true, required: true" do