1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_controller
Erik Ostrom 8ffc2e3b8d Ported the new ActionView::TestCase from 2-3-stable to master [#3260
state:resolved]

The test case now mimicks the template environment more closely, so it's
possible to use render, load helper dependencies.

This also fixes assert_select, and similar assertions. Because view tests
and helpers generally don't render full templates assert_select looks
first in rendered and then in output_buffer to find the rendered output.

Additional `master'-only changes: Made the Action Pack Rakefile run the
ActionView::TestCase tests, and made ActionView::Rendering#_render_text
always return a string.

Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-09-28 13:31:30 -05:00
..
caching Add Orchestra instrumentation to fragment and page caching. 2009-09-20 10:56:38 -03:00
deprecated Move integration test runner into ActionDispatch 2009-09-23 22:38:19 -05:00
dispatch Move middleware and route configuration from AC::Dispatcher to Rails application object 2009-09-26 21:59:28 -05:00
legacy Refactor ActionController to use find_template and template_exists? 2009-09-03 12:52:53 -07:00
metal Resurrect AC::Benchmarking [#3140 state:resolved] 2009-09-24 12:13:09 -05:00
routing UrlRewriter#rewrite_url should call #to_param on the value given in :anchor option, just as #url_for does 2009-08-26 14:11:26 -07:00
testing Ported the new ActionView::TestCase from 2-3-stable to master [#3260 2009-09-28 13:31:30 -05:00
vendor html-scanner uses Set and class_inheritable_accessor 2009-05-30 11:59:17 -07:00
base.rb Resurrect AC::Benchmarking [#3140 state:resolved] 2009-09-24 12:13:09 -05:00
caching.rb Break up DependencyModule's dual function of providing a "depend_on" DSL and "included" block DSL into separate modules. But, unify both approaches under AS::Concern. 2009-05-28 11:35:36 -05:00
deprecated.rb Backwords compat alias for ActionController::Request and ActionController::Response 2009-04-14 16:55:10 -05:00
metal.rb Uses extlib_inheritable_accessor 2009-09-14 13:04:43 -07:00
middleware.rb Fixed stupid mistake... nothing to see here. 2009-08-26 20:51:54 -07:00
record_identifier.rb Clean up render @object a bit more. 2009-08-07 00:52:13 -03:00
routing.rb Merge docrails 2009-07-25 16:03:58 +01:00
translation.rb