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

Version Path
rhodes-3.5.1.12 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.5 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.4.2 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.4 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.3 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.3.beta.4 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.3.beta.3 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.3.beta.2 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.3.beta.1 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.2 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.2.beta.7 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.2.beta.6 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.2.beta.5 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.2.beta.4 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.2.beta.3 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.2.beta.2 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.2.beta.1 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.1 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.0 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-3.3.0.beta.3 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb