sinatra/test
Ryan Tomayko c7dfca86cf Calculate Content-Length using #bytesize instead of #length
String#length returns the number of characters in Ruby 1.9. We want
the number of bytes. I implemented this by aliasing String#bytesize
to String#length when #bytesize is not defined. This seems like a
harmless core extension since #bytesize didn't exist prior to 1.8.7.
2009-02-03 16:50:26 -08:00
..
data I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
views I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
base_test.rb Sugar added: redirect back 2009-01-29 19:37:20 -08:00
builder_test.rb use Test::Unit style assertions in Sinatra specs 2009-01-14 14:00:26 -08:00
erb_test.rb use Test::Unit style assertions in Sinatra specs 2009-01-14 14:00:26 -08:00
extensions_test.rb Fix failing spec under 1.8.6 due to lack of Symbol#to_proc 2009-02-03 16:02:41 -08:00
filter_test.rb Much needed refactoring in dispatching code [#131]/[#127] 2009-01-24 23:57:20 -08:00
haml_test.rb use Test::Unit style assertions in Sinatra specs 2009-01-14 14:00:26 -08:00
helper.rb Make the specs run under new miniunit stuff in Ruby 1.9 2009-02-02 18:49:11 -08:00
helpers_test.rb Fix constant resolution in specs under 1.9 2009-02-02 18:49:11 -08:00
mapped_error_test.rb Fix constant resolution in specs under 1.9 2009-02-02 18:49:11 -08:00
middleware_test.rb Fix constant resolution in specs under 1.9 2009-02-02 18:49:11 -08:00
options_test.rb Clean framework/lib paths in error backtrace (clean_trace option) [#77] 2009-01-23 02:30:48 -08:00
reload_test.rb Disable :reload option by default when app_file is a rackup (.ru) file [#110] 2009-01-22 01:14:06 -08:00
request_test.rb Fix Request#params on PUT requests [#72] 2009-01-15 06:45:42 -08:00
response_test.rb Calculate Content-Length using #bytesize instead of #length 2009-02-03 16:50:26 -08:00
result_test.rb General spec coverage improvements (rcov: 98%) 2009-01-19 17:58:26 -08:00
routing_test.rb fixed 1.9 too many values test case 2009-02-02 19:07:16 -08:00
sass_test.rb use Test::Unit style assertions in Sinatra specs 2009-01-14 14:00:26 -08:00
server_test.rb General spec coverage improvements (rcov: 98%) 2009-01-19 17:58:26 -08:00
sinatra_test.rb use Test::Unit style assertions in Sinatra specs 2009-01-14 14:00:26 -08:00
static_test.rb Fix constant resolution in specs under 1.9 2009-02-02 18:49:11 -08:00
templates_test.rb use Test::Unit style assertions in Sinatra specs 2009-01-14 14:00:26 -08:00
test_test.rb Support for nested params in Sinatra::Test 2009-01-20 12:37:50 -08:00