spec/http2_spec.rb in http2-0.0.28 vs spec/http2_spec.rb in http2-0.0.29

- old
+ new

@@ -1,11 +1,10 @@ -require File.expand_path(File.dirname(__FILE__) + '/spec_helper') +require "spec_helper" +require "json" describe "Http2" do it "should be able to do normal post-requests." do - require "json" - #Test posting keep-alive and advanced post-data. Http2.new(host: "www.partyworm.dk", debug: false) do |http| 0.upto(5) do resp = http.get("multipart_test.php") @@ -152,6 +151,6 @@ Http2.new(host: "http2test.kaspernj.org", follow_redirects: true) do |http| resp = http.get("redirect_test.php") resp.code.should eq "200" end end -end \ No newline at end of file +end