summaryrefslogtreecommitdiff
path: root/spec/functional/resource/file_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/functional/resource/file_spec.rb')
-rw-r--r--spec/functional/resource/file_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/file_spec.rb b/spec/functional/resource/file_spec.rb
index 291311f3e2..197e8c1469 100644
--- a/spec/functional/resource/file_spec.rb
+++ b/spec/functional/resource/file_spec.rb
@@ -140,7 +140,7 @@ describe Chef::Resource::File do
context "and the target file exists and has the correct content" do
before(:each) do
- File.open(path, "w") { |f| f.print expected_content }
+ File.open(path, "w") do |f| f.print expected_content end
@expected_checksum = sha256_checksum(path)