mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8ffc2e3b8d
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> |
||
---|---|---|
.. | ||
erb | ||
helpers | ||
locale | ||
render | ||
template | ||
base.rb | ||
context.rb | ||
helpers.rb | ||
paths.rb | ||
test_case.rb |