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 7680852cb9..f57f11dcc2 100644
--- a/spec/unit/file_cache_spec.rb
+++ b/spec/unit/file_cache_spec.rb
@@ -44,7 +44,7 @@ describe Chef::FileCache do
describe "when storing a file" do
before do
- File.stub!(:open).and_yield(@io)
+ File.stub(:open).and_yield(@io)
end
it "should print the contents to the file" do