summaryrefslogtreecommitdiff
path: root/spec/unit/file_cache_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/file_cache_spec.rb')
-rw-r--r--spec/unit/file_cache_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/file_cache_spec.rb b/spec/unit/file_cache_spec.rb
index 388b0e746a..60a0ff2c80 100644
--- a/spec/unit/file_cache_spec.rb
+++ b/spec/unit/file_cache_spec.rb
@@ -57,7 +57,7 @@ describe Chef::FileCache do
describe "when loading cached files" do
it "finds and reads the cached file" do
FileUtils.mkdir_p(File.join(@file_cache_path, "whiz"))
- File.open(File.join(@file_cache_path, "whiz", "bang"), "w") { |f| f.print("borkborkbork") }
+ File.open(File.join(@file_cache_path, "whiz", "bang"), "w") do |f| f.print("borkborkbork") end
expect(Chef::FileCache.load("whiz/bang")).to eq("borkborkbork")
end