summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Raabe <brandocorp@gmail.com>2015-03-21 00:05:16 -0700
committerBrandon Raabe <brandocorp@gmail.com>2015-03-21 00:05:16 -0700
commit9c7bc8730af9ddba70d5095301517ae9e07e5024 (patch)
tree6d58f916c441084940c204bdb5e5469a10066067
parent57a6de57d60a75749a8345af9807d4abf24b6924 (diff)
downloadchef-9c7bc8730af9ddba70d5095301517ae9e07e5024.tar.gz
fix broken specs
-rw-r--r--lib/chef/http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/http.rb b/lib/chef/http.rb
index 8679abeed2..52645b93d8 100644
--- a/lib/chef/http.rb
+++ b/lib/chef/http.rb
@@ -197,7 +197,7 @@ class Chef
response, rest_request, return_value = send_http_request(method, url, headers, data) do |http_response|
if http_response.kind_of?(Net::HTTPSuccess)
- tempfile = stream_to_tempfile(url, http_response, &block)
+ tempfile = stream_to_tempfile(url, http_response)
end
apply_stream_complete_middleware(http_response, rest_request, return_value)
end