summaryrefslogtreecommitdiff
path: root/spec/unit
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-05-15 07:01:47 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2015-05-15 07:04:22 -0700
commitdeb1285c90f85380d949a70aca14df8607b31939 (patch)
tree370e1ae4989a833fde99e3293cf7cb1c0c16cfd2 /spec/unit
parent38a38ba43aa68e05c7316649cb1ac3079e595e2a (diff)
downloadchef-deb1285c90f85380d949a70aca14df8607b31939.tar.gz
download_file_missing? -> downloadable_file_missing?
Diffstat (limited to 'spec/unit')
-rw-r--r--spec/unit/provider/package/windows_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/package/windows_spec.rb b/spec/unit/provider/package/windows_spec.rb
index 345d7bd57f..e5acc87694 100644
--- a/spec/unit/provider/package/windows_spec.rb
+++ b/spec/unit/provider/package/windows_spec.rb
@@ -62,7 +62,7 @@ describe Chef::Provider::Package::Windows, :windows_only do
context "when the source has not been downloaded" do
before(:each) do
- allow(provider).to receive(:download_file_missing?).and_return(true)
+ allow(provider).to receive(:downloadable_file_missing?).and_return(true)
end
it "sets the current version to unknown" do
provider.load_current_resource
@@ -72,7 +72,7 @@ describe Chef::Provider::Package::Windows, :windows_only do
context "when the source has been downloaded" do
before(:each) do
- allow(provider).to receive(:download_file_missing?).and_return(false)
+ allow(provider).to receive(:downloadable_file_missing?).and_return(false)
end
it_behaves_like "a local file"
end