summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorBapu L <bapu.labade@progress.com>2022-06-21 20:03:57 +0530
committerBapu L <bapu.labade@progress.com>2022-06-21 20:03:57 +0530
commitde2e5bda495644bbbd148439c887ba3ffc60dfdf (patch)
treedf4636e7fd595fd54b606da2599abfda12c31cc5 /spec
parent553aef6ad98af862a3d93a60483e9cd64db71f70 (diff)
downloadchef-de2e5bda495644bbbd148439c887ba3ffc60dfdf.tar.gz
Fixed build issues
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/resource_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/resource_spec.rb b/spec/unit/resource_spec.rb
index 7fe717765a..c83398e7c2 100644
--- a/spec/unit/resource_spec.rb
+++ b/spec/unit/resource_spec.rb
@@ -386,8 +386,8 @@ describe Chef::Resource do
expect(resource.to_text).to match(/foo "\*sensitive value suppressed\*"/)
end
it "suppresses that properties value irrespective of desired state (false) " do
- resource_class = Class.new(Chef::Resource) {
- property :foo, String, sensitive: true, desired_state: false
+ resource_class = Class.new(Chef::Resource) {
+ property :foo, String, sensitive: true, desired_state: false
}
resource = resource_class.new("desired_state_property_tests")
resource.foo = "some value"
@@ -396,7 +396,7 @@ describe Chef::Resource do
it "suppresses that properties value irrespective of desired state (true) " do
resource_class = Class.new(Chef::Resource) {
- property :foo, String, sensitive: true, desired_state: true
+ property :foo, String, sensitive: true, desired_state: true
}
resource = resource_class.new("desired_state_property_tests")
resource.foo = "some value"