summaryrefslogtreecommitdiff
path: root/spec/unit/node
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-08 10:51:08 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-08 10:51:08 -0700
commit9a12ed3baa2c2bfa8c32066027c0374cfe50fdee (patch)
tree3357fab41f1e763a4f24c1a828b1954ccf84cbdb /spec/unit/node
parent9a111dee0b612fd95d7a0c8fef01dfdf0412123b (diff)
downloadchef-9a12ed3baa2c2bfa8c32066027c0374cfe50fdee.tar.gz
Resolve RuboCop Style/RedundantInterpolation warnings
Resolve the issues that pete pointed out plus a few others Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/node')
-rw-r--r--spec/unit/node/immutable_collections_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/node/immutable_collections_spec.rb b/spec/unit/node/immutable_collections_spec.rb
index 5ced8053a0..836e9862e9 100644
--- a/spec/unit/node/immutable_collections_spec.rb
+++ b/spec/unit/node/immutable_collections_spec.rb
@@ -130,7 +130,7 @@ describe Chef::Node::ImmutableMash do
end
%w{to_h to_hash dup}.each do |immutable_meth|
- describe "#{immutable_meth}" do
+ describe immutable_meth do
include_examples "ImmutableMash module", description
end
end
@@ -238,7 +238,7 @@ describe Chef::Node::ImmutableArray do
end
%w{to_a to_array dup}.each do |immutable_meth|
- describe "#{immutable_meth}" do
+ describe immutable_meth do
include_examples "ImmutableArray module", description
end
end