diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-01-12 09:18:16 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-01-12 09:18:16 -0800 |
commit | 812101f11a6c33e49f401ad72598ca6ffb38adc4 (patch) | |
tree | bab654bbd8d6310d46c0f1787691133a2b6bb743 /spec/support/shared/unit/file_system_support.rb | |
parent | c7194aea7c145b94c46a97dd3f218aff1b0116c2 (diff) | |
parent | c844e1c87374b18ee634a06a5325518631607c90 (diff) | |
download | chef-812101f11a6c33e49f401ad72598ca6ffb38adc4.tar.gz |
Merge pull request #4381 from chef/lcg/useless-to-s
chefstyle: fix Lint/StringConversionInInterpolation
Diffstat (limited to 'spec/support/shared/unit/file_system_support.rb')
-rw-r--r-- | spec/support/shared/unit/file_system_support.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared/unit/file_system_support.rb b/spec/support/shared/unit/file_system_support.rb index 358f0c405c..3f9e6df3b9 100644 --- a/spec/support/shared/unit/file_system_support.rb +++ b/spec/support/shared/unit/file_system_support.rb @@ -56,7 +56,7 @@ module FileSystemSupport def no_blocking_calls_allowed [ Chef::ChefFS::FileSystem::MemoryFile, Chef::ChefFS::FileSystem::MemoryDir ].each do |c| [ :children, :exists?, :read ].each do |m| - allow_any_instance_of(c).to receive(m).and_raise("#{m.to_s} should not be called") + allow_any_instance_of(c).to receive(m).and_raise("#{m} should not be called") end end end |