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-7.6.0 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-7.5.1 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-7.4.1 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-7.1.17 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-6.2.0 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-6.0.11 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-5.5.18 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-5.5.17 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-5.5.15 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-5.5.0.22 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-5.5.2 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-5.5.0.7 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-5.5.0.3 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rhodes-5.5.0 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
tauplatform-1.0.3 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
tauplatform-1.0.2 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
tauplatform-1.0.1 spec/framework_spec/app/spec/library/net/http/httpheader/shared/size.rb
rubysl-net-http-1.0.1 spec/httpheader/shared/size.rb
rubysl-net-http-2.0.4 spec/httpheader/shared/size.rb
rubysl-net-http-1.0.0 spec/httpheader/shared/size.rb