Sha256: e8cc7f9d6b392e1c57aaaa7c863ea1a93ce5e02df493df0e0845ad0b21aa98c9
Contents?: true
Size: 427 Bytes
Versions: 52
Compression:
Stored size: 427 Bytes
Contents
describe :net_httpheader_size, :shared => true do before(:each) do @headers = NetHTTPHeaderSpecs::Example.new end it "returns the number of header entries in self" do @headers.send(@method).should eql(0) @headers["a"] = "b" @headers.send(@method).should eql(1) @headers["b"] = "b" @headers.send(@method).should eql(2) @headers["c"] = "c" @headers.send(@method).should eql(3) end end
Version data entries
52 entries across 52 versions & 3 rubygems