summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/shared/unit/provider/file.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared/unit/provider/file.rb b/spec/support/shared/unit/provider/file.rb
index 7efea1dd9e..8753937fc3 100644
--- a/spec/support/shared/unit/provider/file.rb
+++ b/spec/support/shared/unit/provider/file.rb
@@ -404,7 +404,7 @@ shared_examples_for Chef::Provider::File do
:for_reporting => diff_for_reporting )
diff.stub!(:diff).with(resource_path, tempfile_path).and_return(true)
provider.should_receive(:diff).at_least(:once).and_return(diff)
- provider.should_receive(:should_do_checksum?).at_least(:once).and_return(true)
+ provider.should_receive(:managing_content?).at_least(:once).and_return(true)
provider.should_receive(:checksum).with(tempfile_path).and_return(tempfile_sha256)
provider.should_receive(:checksum).with(resource_path).and_return(tempfile_sha256)
provider.deployment_strategy.should_receive(:deploy).with(tempfile_path, normalized_path)