1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/test
Ryan Tomayko da3439af02 Sinatra::Application as a sandbox for the DSL
Moves DSL methods previously defined on (main) to Sinatra::Application
and begins documenting them. This unifies a bunch of method names and
will allow individual Application instances to be used as a sandbox
for DSL execution.

The Sinatra::Application::FORWARD_METHODS array is a list of method
names that should be available at the top-level. A constant was created
so that its easy to tell what methods are available from top-level when
reading the API documentation. When one of the methods is invoked on
(main), the message is forwarded to the default application
(Sinatra::application).

This is in preparation for some configuration related changes and
multi-app support.
2008-04-27 23:54:43 -04:00
..
public tests 2007-12-02 15:41:58 -08:00
views Added sass_test.rb and supporting template/layout files. 2008-04-08 19:51:20 -05:00
app_test.rb Sinatra::Application as a sandbox for the DSL 2008-04-27 23:54:43 -04:00
application_test.rb Session testing made easy 2008-04-20 18:03:41 -07:00
builder_test.rb Builder Rendering Helper (.builder templates) w/ doco and tests. 2008-03-12 09:04:05 -04:00
custom_error_test.rb raise errors from error 2008-04-01 14:20:26 -07:00
diddy_test.rb filter on host 2008-04-01 18:20:52 -07:00
erb_test.rb Haml & Erb redo 2008-02-27 21:07:06 -08:00
event_context_test.rb throw :halt 2007-11-28 02:55:19 -08:00
events_test.rb bringing back the string. 2008-03-31 18:48:59 -07:00
haml_test.rb Add the possibility to configure options that are passed to Haml::Engine when evalutating HAML template. 2008-04-19 16:43:12 +02:00
helper.rb throw :halt 2007-11-28 02:55:19 -08:00
mapped_error_test.rb raise errors from error 2008-04-01 14:20:26 -07:00
rest_test.rb RESTful testing 2008-04-09 22:50:56 -07:00
sass_test.rb Added sass_test.rb and supporting template/layout files. 2008-04-08 19:51:20 -05:00
sessions_test.rb err. 2008-04-11 14:09:23 -07:00
streaming_test.rb fixed escaped paths not resolving static files [Matthew Walker] 2008-04-26 17:56:50 -07:00
sym_params_test.rb Symbol params back in thanks to Jeremy Evans 2008-04-08 16:40:46 -07:00
template_test.rb ERB in place 2008-02-20 22:57:05 -08:00
use_in_file_templates_test.rb New standard: use_in_file_templates uses @@ mytemplate for lookup 2008-04-27 18:05:42 -07:00