diff options
author | John Keiser <jkeiser@opscode.com> | 2014-09-04 21:38:07 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2014-09-07 10:44:26 -0700 |
commit | 3fb87cc744d1e1134476496dedc9125a25add859 (patch) | |
tree | 3f31bf92ef0ed2a50fdff54e23c5611db6b60ce9 /spec/unit | |
parent | c8b1e30a8b558c29a1ce1cc6a5a1e5de56534d22 (diff) | |
download | chef-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.rb | 2 |
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) |