summaryrefslogtreecommitdiff
path: root/spec/unit/http
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-04-09 12:01:25 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-04-09 12:01:25 -0700
commit77f8c6eb236e71829249a34b549b639eae018137 (patch)
tree81c54cdfb7455be079f1a48b87b5da4a7cf5e0cb /spec/unit/http
parent1ff344fa64068c9b8638a11a781adcb72ddaed2f (diff)
downloadchef-77f8c6eb236e71829249a34b549b639eae018137.tar.gz
CHEF-5198: a better fix
- reverts previous fix to CHEF-5198 - applies stream handler middleware in (proper) reverse order - adds debugging around middleware application - moves dumping of response header debugging to before applying response/streaming middleware
Diffstat (limited to 'spec/unit/http')
-rw-r--r--spec/unit/http/simple_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/http/simple_spec.rb b/spec/unit/http/simple_spec.rb
index ae3e31bc94..b33ef1d553 100644
--- a/spec/unit/http/simple_spec.rb
+++ b/spec/unit/http/simple_spec.rb
@@ -27,6 +27,6 @@ describe Chef::HTTP::Simple do
content_length.should_not be_nil
decompressor.should_not be_nil
- (decompressor > content_length).should be_true
+ (decompressor < content_length).should be_true
end
end