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

- old
+ new

@@ -47,10 +47,10 @@ "?show=drinksdb", "?show=forum&fid=9&tid=1917&page=0" ] urls = ["robots.txt"] - http = Knj::Http2.new(:host => "www.partyworm.dk", :debug => true) + http = Knj::Http2.new(:host => "www.partyworm.dk", :debug => false) 0.upto(105) do |count| url = urls[rand(urls.size)] #print "Doing request #{count} of 200 (#{url}).\n" res = http.get(url) raise "Body was empty." if res.body.to_s.length <= 0 \ No newline at end of file