spec/http2_spec.rb in http2-0.0.11 vs spec/http2_spec.rb in http2-0.0.12

- old
+ new

@@ -60,17 +60,17 @@ end end end it "should be able to do multipart-requests and keep-alive when using multipart." do - Http2.new(:host => "www.partyworm.dk", :follow_redirects => false) do |http| + Http2.new(:host => "www.partyworm.dk", :follow_redirects => false, :encoding_gzip => false, :debug => false) do |http| 0.upto(5) do resp = http.post_multipart(:url => "multipart_test.php", :post => { "test_var" => "true" }) if resp.body != "multipart-test-test_var=true" - raise "Expected body to be 'test_var=true' but it wasnt: '#{resp.body}'." + raise "Expected body to be 'multipart-test-test_var=true' but it wasnt: '#{resp.body}'." end end end end \ No newline at end of file