1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/test
Ryan Tomayko 33087977ef Fix helpers blocks failing when aliasing Base methods
The following would fail with a "undefined method `escape_html'"
exception because the block was being evaluated within a new module
and then included in Base. i.e., the following no longer worked:

    helpers { alias_method :h, :escape_html }

This was introduced just recently as part of the extensions work
foca did.
2009-02-07 11:26:32 -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 helpers blocks failing when aliasing Base methods 2009-02-07 11:26:32 -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