Module: Rack::Test

Defined in:
lib/rack/test.rb,
lib/rack/test/utils.rb,
lib/rack/test/methods.rb,
lib/rack/test/version.rb,
lib/rack/test/cookie_jar.rb,
lib/rack/test/uploaded_file.rb,
lib/rack/test/mock_digest_request.rb

Defined Under Namespace

Modules: Methods, Utils Classes: Cookie, CookieJar, Error, MockDigestRequest, Session, UploadedFile

Constant Summary collapse

DEFAULT_HOST =
'example.org'.freeze
MULTIPART_BOUNDARY =
'----------XnJLe9ZIbbGUYtzPQJ16u1'.freeze
VERSION =
'1.1.0'.freeze

Class Method Summary collapse

Class Method Details

.encoding_aware_strings?Boolean

Returns:

  • (Boolean)

359
360
361
# File 'lib/rack/test.rb', line 359

def self.encoding_aware_strings?
  Rack.release >= '1.6'
end