1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/fixtures
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
..
addresses
alternate_helpers Allow helpers directory to be overridden via ActionController::Base.helpers_dir (Sam Pohlenz) [#1424 state:committed] 2008-11-23 13:42:53 +01:00
bad_customers Missed adds. References #11491. 2008-04-01 00:56:59 +00:00
customers
db_definitions Added test for has_one partial rendering (keeran) [#43 state:resolved] 2008-04-30 14:59:24 -05:00
developers Improve test coverage and create fixtures for RenderPartialWithRecordIdentificationTests 2008-07-12 12:17:10 -05:00
fun Improve test coverage and create fixtures for RenderPartialWithRecordIdentificationTests 2008-07-12 12:17:10 -05:00
functional_caching Improved test coverage for fragment cache helper 2008-07-15 20:54:17 -05:00
good_customers Missed adds. References #11491. 2008-04-01 00:56:59 +00:00
happy_path/render_action Started implementing render :action 2009-03-19 13:35:39 -07:00
helpers
layout_tests Implemented layout conditions in new base 2009-05-21 18:14:20 -07:00
layouts Drive the final stake through @content_for_*'s heart! 2009-06-17 18:08:45 -07:00
mascots Forgot these 2008-04-30 15:00:59 -05:00
multipart Allow empty files to be uploaded 2009-01-20 20:34:35 -06:00
old_content_type Avoid conflicts with another ContentTypeController used in testing 2009-09-19 12:50:14 -05:00
override/test
override2/layouts/test
post_test
projects Improve test coverage and create fixtures for RenderPartialWithRecordIdentificationTests 2008-07-12 12:17:10 -05:00
public Move Rails::Static into ActionDispatch 2009-09-26 11:37:42 -05:00
quiz/questions Fixed simplified render with nested models [#2042 state:resolved] 2009-03-07 14:05:18 -06:00
replies Improve test coverage and create fixtures for RenderPartialWithRecordIdentificationTests 2008-07-12 12:17:10 -05:00
respond_to
respond_with Add nagivational behavior to respond_with. 2009-08-07 17:16:15 +02:00
scope/test
symlink_parent Fix layouts in symlinked paths. Closes #9136 [court3nay, caio] 2008-03-28 20:54:26 +00:00
test Ported the new ActionView::TestCase from 2-3-stable to master [#3260 2009-09-28 13:31:30 -05:00
topics
_top_level_partial.html.erb Fix rendering partials at the top level [#795 state:resolved] 2008-08-13 19:15:35 -05:00
_top_level_partial_only.erb Fix rendering partials at the top level [#795 state:resolved] 2008-08-13 19:15:35 -05:00
companies.yml
company.rb Added test for has_one partial rendering (keeran) [#43 state:resolved] 2008-04-30 14:59:24 -05:00
developer.rb
developers.yml
developers_projects.yml
mascot.rb Forgot these 2008-04-30 15:00:59 -05:00
mascots.yml Forgot these 2008-04-30 15:00:59 -05:00
project.rb
projects.yml
replies.yml Remove the irrelevant fixture added in fe6ffce51d 2009-01-24 18:22:17 +00:00
reply.rb Fixed render :partial => @collection.named_scope (nkallen) [#61 state:resolved] 2008-04-30 14:42:44 -05:00
shared.html.erb Fixed render :template for templates in top level of view path. [#54 state:resolved] 2008-05-01 10:21:46 +01:00
topic.rb
topics.yml