summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-04-09 10:02:51 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-04-09 10:02:51 -0700
commit596c8451231a1bdd14da0b7d08d84e4e35a10e0f (patch)
treed3d7461c671939f4e309b08e42656419d3cdcde8
parent53d16b4fb428f8b06e47ac69066af4fc0c7e1910 (diff)
downloadchef-596c8451231a1bdd14da0b7d08d84e4e35a10e0f.tar.gz
fix spec test
compared to the same test in rest_spec.rb this makes no sense at all why we need to invert it, and its clear to me why this bug got through code review because it looks obviously correct. it looks very obviously wrong now, but it works.
-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 b33ef1d553..ae3e31bc94 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