diff options
Diffstat (limited to 'chef')
-rw-r--r-- | chef/spec/support/shared/functional/file_resource.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chef/spec/support/shared/functional/file_resource.rb b/chef/spec/support/shared/functional/file_resource.rb index c85512b5c6..921c6d32d5 100644 --- a/chef/spec/support/shared/functional/file_resource.rb +++ b/chef/spec/support/shared/functional/file_resource.rb @@ -83,6 +83,7 @@ shared_examples_for "a file resource" do f.read end content.force_encoding(Encoding::BINARY) if "".respond_to?(:force_encoding) + content end context "when the target file does not exist" do |