This project is archived and is in readonly mode.
Changeset [cddd4746f9a2fba8215d53a0f9ac5241f128d07b] by Eloy Duran
Revision cddd4746f9a2fba8215d53a0f9ac5241f128d07b,
committed by Eloy Duran
· September 25th, 2009 @ 02:51 PM
Rewrote ActionView::TestCase.
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.
http://github.com/rails/rails/commit/cddd4746f9a2fba8215d53a0f9ac52...
6 changed files
-
A
actionpack/test/fixtures/test/_from_helper.erb -
M
actionpack/lib/action_controller/test_process.rb -
M
actionpack/lib/action_view/test_case.rb -
M
actionpack/test/template/active_record_helper_test.rb -
M
actionpack/test/template/benchmark_helper_test.rb -
M
actionpack/test/view/test_case_test.rb