summaryrefslogtreecommitdiff
path: root/spec/unit
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2014-09-04 21:38:07 -0700
committerJohn Keiser <jkeiser@opscode.com>2014-09-07 10:44:26 -0700
commit3fb87cc744d1e1134476496dedc9125a25add859 (patch)
tree3f31bf92ef0ed2a50fdff54e23c5611db6b60ce9 /spec/unit
parentc8b1e30a8b558c29a1ce1cc6a5a1e5de56534d22 (diff)
downloadchef-jk/http-error-log.tar.gz
Print out request and response body on non-2xx responsejk/http-error-log
Diffstat (limited to 'spec/unit')
-rw-r--r--spec/unit/rest_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/rest_spec.rb b/spec/unit/rest_spec.rb
index f20672ef25..3ad822193b 100644
--- a/spec/unit/rest_spec.rb
+++ b/spec/unit/rest_spec.rb
@@ -540,7 +540,7 @@ describe Chef::REST do
let(:request_mock) { {} }
let(:http_response) do
- http_response = Net::HTTPSuccess.new("1.1",200, "it-works")
+ http_response = Net::HTTPSuccess.new("1.1",'200', "it-works")
http_response.stub(:read_body)
http_response.should_not_receive(:body)