summaryrefslogtreecommitdiff
path: root/spec/unit/cookbook_uploader_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/cookbook_uploader_spec.rb')
-rw-r--r--spec/unit/cookbook_uploader_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/cookbook_uploader_spec.rb b/spec/unit/cookbook_uploader_spec.rb
index e992c11ef7..4fb8e30e2e 100644
--- a/spec/unit/cookbook_uploader_spec.rb
+++ b/spec/unit/cookbook_uploader_spec.rb
@@ -101,7 +101,7 @@ describe Chef::CookbookUploader do
}
expect(http_client).to receive(:put).
- with(url_for(md5), IO.binread(file_path), upload_headers)
+ with(url_for(md5), IO.binread(file_path.full_path), upload_headers)
end
end