Sha256: fddfb57153419bb4d5bca997d3f6561246ee3fcbfa717c39827f67bea474f5c3

Contents?: true

Size: 928 Bytes

Versions: 8

Compression:

Stored size: 928 Bytes

Contents

require File.dirname(__FILE__) + '/test_http_helper.rb'

class TestHttp < Test::Unit::TestCase
  include Rbkb::Http
  
  def test_names
    assert_equal CommonInterface, Rbkb::Http::CommonInterface
    assert_equal Base, Rbkb::Http::Base

    assert_equal Response, Rbkb::Http::Response
    assert_equal Request, Rbkb::Http::Request
    assert_equal Parameters, Rbkb::Http::Parameters
    assert_equal FormUrlencodedParams, Rbkb::Http::FormUrlencodedParams

    assert_equal Headers, Rbkb::Http::Headers
    assert_equal RequestHeaders, Rbkb::Http::RequestHeaders
    assert_equal RequestAction, Rbkb::Http::RequestAction
    assert_equal ResponseHeaders, Rbkb::Http::ResponseHeaders
    assert_equal ResponseStatus, Rbkb::Http::ResponseStatus

    assert_equal Body, Rbkb::Http::Body
    assert_equal BoundBody, Rbkb::Http::BoundBody
    assert_equal ChunkedBody, Rbkb::Http::ChunkedBody
  end

end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
emonti-rbkb-0.6.6 test/test_http.rb
emonti-rbkb-0.6.7 test/test_http.rb
emonti-rbkb-0.6.8 test/test_http.rb
emonti-rbkb-0.6.9.1 test/test_http.rb
emonti-rbkb-0.6.9 test/test_http.rb
rbkb-http-0.2.1 test/test_http.rb
rbkb-http-0.2.0 test/test_http.rb
rbkb-0.6.10 test/test_http.rb