summaryrefslogtreecommitdiff
path: root/spec/unit/checksum/storage/filesystem_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/checksum/storage/filesystem_spec.rb')
-rw-r--r--spec/unit/checksum/storage/filesystem_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/checksum/storage/filesystem_spec.rb b/spec/unit/checksum/storage/filesystem_spec.rb
index 144dc69ff1..755a64fe07 100644
--- a/spec/unit/checksum/storage/filesystem_spec.rb
+++ b/spec/unit/checksum/storage/filesystem_spec.rb
@@ -26,8 +26,8 @@ describe Chef::Checksum::Storage::Filesystem do
@now = Time.now
- Time.stub!(:now).and_return(@now)
- Chef::Config.stub!(:checksum_path).and_return("/var/chef/checksums")
+ Time.stub(:now).and_return(@now)
+ Chef::Config.stub(:checksum_path).and_return("/var/chef/checksums")
@checksum_of_the_file = "3fafecfb15585ede6b840158cbc2f399"
@storage = Chef::Checksum::Storage::Filesystem.new("/not/used/path", @checksum_of_the_file)