summaryrefslogtreecommitdiff
path: root/spec/unit/provider/remote_file/network_file_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/remote_file/network_file_spec.rb')
-rw-r--r--spec/unit/provider/remote_file/network_file_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/remote_file/network_file_spec.rb b/spec/unit/provider/remote_file/network_file_spec.rb
index 1c2bcc5911..07d8a402ca 100644
--- a/spec/unit/provider/remote_file/network_file_spec.rb
+++ b/spec/unit/provider/remote_file/network_file_spec.rb
@@ -33,7 +33,7 @@ describe Chef::Provider::RemoteFile::NetworkFile do
let(:source_file) { double("::File", read: nil) }
before do
- allow(Chef::Platform).to receive(:windows?).and_return(true)
+ allow(ChefHelpers).to receive(:windows?).and_return(true)
end
it "stages the local file to a temporary file" do